- {% assign icon = target | downcase -%}
+ {% assign icon = target | downcase
+ -%}
{% case icon %}
- {% when 'desktop' -%}
+ {% when 'desktop'
+ -%}
desktop_windows
- {% when 'android' -%}
+ {% when 'android'
+ -%}
phone_android
- {% when 'web' -%}
- open_in_browser
- {% endcase -%}
+ {% when 'web'
+ -%}
+ web
+ {% endcase
+ -%}
{{target}}
- {% if icon == 'android' -%}
+ {% if icon == 'android'
+ -%}
Recommended
{% endif %}
diff --git a/src/get-started/install/windows/mobile.md b/src/get-started/install/windows/mobile.md
index 56883670b1..643036621e 100644
--- a/src/get-started/install/windows/mobile.md
+++ b/src/get-started/install/windows/mobile.md
@@ -10,12 +10,31 @@ next:
path: /get-started/test-drive
---
-{% include docs/install/reqs/windows/base.md target=page.target os=page.devos -%}
+{% include docs/install/reqs/windows/base.md
+ os=page.devos
+ target=page.target
+ -%}
-{% include docs/install/flutter-sdk.md target=page.target os=page.devos terminal='PowerShell' -%}
+{% include docs/install/flutter-sdk.md
+ os=page.devos
+ target=page.target
+ terminal='PowerShell'
+ -%}
-{% include docs/install/compiler/android.md target=page.target os=page.devos time='first' -%}
+{% include docs/install/compiler/android.md
+ devos=page.devos
+ target=page.target
+ attempt='first'
+ -%}
-{% include docs/install/flutter-doctor.md target=page.target devos=page.devos config=page.config -%}
+{% include docs/install/flutter-doctor.md
+ devos=page.devos
+ target=page.target
+ config=page.config
+ -%}
-{% include docs/install/next-steps.md devos=page.devos target=page.target config=page.config -%}
+{% include docs/install/next-steps.md
+ devos=page.devos
+ target=page.target
+ config=page.config
+ -%}
diff --git a/src/get-started/install/windows/web.md b/src/get-started/install/windows/web.md
index a61143466c..f15d70d4ff 100644
--- a/src/get-started/install/windows/web.md
+++ b/src/get-started/install/windows/web.md
@@ -10,10 +10,25 @@ next:
path: /get-started/test-drive
---
-{% include docs/install/reqs/windows/base.md target=page.target os=page.devos -%}
+{% include docs/install/reqs/windows/base.md
+ os=page.devos
+ target=page.target
+ -%}
-{% include docs/install/flutter-sdk.md target=page.target os=page.devos terminal='PowerShell' -%}
+{% include docs/install/flutter-sdk.md
+ os=page.devos
+ target=page.target
+ terminal='PowerShell'
+ -%}
-{% include docs/install/flutter-doctor.md target=page.target devos=page.devos config='WindowsWeb' -%}
+{% include docs/install/flutter-doctor.md
+ devos=page.devos
+ target=page.target config='WindowsWeb'
-{% include docs/install/next-steps.md devos=page.devos target=page.target config=page.config -%}
+ -%}
+
+{% include docs/install/next-steps.md
+ devos=page.devos
+ target=page.target
+ config=page.config
+ -%}
diff --git a/src/platform-integration/android/install-android/index.md b/src/platform-integration/android/install-android/index.md
index fe34e7ddf2..f74c16ce8b 100644
--- a/src/platform-integration/android/install-android/index.md
+++ b/src/platform-integration/android/install-android/index.md
@@ -2,16 +2,33 @@
title: Add Android devtools for Flutter
description: Configure your system to develop Flutter for Android.
short-title: Add Android to possible Flutter SDK targets
-target-list: [macOS, Windows, iOS, 'Web on macOS', 'Web on Windows']
+target-list: [Windows, 'Web on Windows', Linux, 'Web on Linux', macOS, 'Web on macOS', iOS, Web on ChromeOS]
---
To choose the guide to add Android Studio to your Flutter configuration,
click the [Getting Started path][] you followed.
-
+ {% endif %}
+{% endfor %}
[Getting Started path]: /get-started/install
diff --git a/src/platform-integration/android/install-android/install-android-from-ios.md b/src/platform-integration/android/install-android/install-android-from-ios.md
index 222291d903..6eea89dea2 100644
--- a/src/platform-integration/android/install-android/install-android-from-ios.md
+++ b/src/platform-integration/android/install-android/install-android-from-ios.md
@@ -17,7 +17,7 @@ To add Android as a Flutter app target for iOS, follow this procedure.
{% include docs/install/compiler/android.md
target='macos'
devos='macOS'
- time="first" -%}
+ attempt="first" -%}
{% include docs/install/flutter-doctor.md
target='Android'
diff --git a/src/platform-integration/android/install-android/install-android-from-linux.md b/src/platform-integration/android/install-android/install-android-from-linux.md
new file mode 100644
index 0000000000..06adbfc5fd
--- /dev/null
+++ b/src/platform-integration/android/install-android/install-android-from-linux.md
@@ -0,0 +1,38 @@
+---
+title: Add Android devtools for Flutter from Linux start
+description: Configure your Mac to develop Flutter mobile apps for Android.
+short-title: When you started with Linux
+---
+
+To add Android as a Flutter app target for Linux, follow this procedure.
+
+## Install Android Studio
+
+1. Allocate a minimum of 7.5 GB of storage for Android Studio.
+ Consider allocating 10 GB of storage for an optimal configuration.
+
+1. Install the following prequisite packages for Android Studio:
+ `libc6:i386`, `libncurses5:i386`, `libstdc++6:i386`, `lib32z1`, `libbz2-1.0:i386`
+
+ ```terminal
+ $ sudo apt-get install \
+ libc6:i386 libncurses5:i386 \
+ libstdc++6:i386 lib32z1 \
+ libbz2-1.0:i386
+ ```
+
+1. Install [Android Studio][] {{site.appmin.android_studio}} to debug and compile
+ Java or Kotlin code for Android.
+ Flutter requires the full version of Android Studio.
+
+{% include docs/install/compiler/android.md
+ target='linux'
+ devos='Linux'
+ attempt='first' -%}
+
+{% include docs/install/flutter-doctor.md
+ target='Android'
+ devos='Linux'
+ config='LinuxDesktopAndroid' %}
+
+[Android Studio]: https://developer.android.com/studio/install#linux
diff --git a/src/platform-integration/android/install-android/install-android-from-macos.md b/src/platform-integration/android/install-android/install-android-from-macos.md
index ba89038c93..66ed64272e 100644
--- a/src/platform-integration/android/install-android/install-android-from-macos.md
+++ b/src/platform-integration/android/install-android/install-android-from-macos.md
@@ -17,7 +17,7 @@ To add Android as a Flutter app target for macOS, follow this procedure.
{% include docs/install/compiler/android.md
target='macos'
devos='macOS'
- time="first" -%}
+ attempt="first" -%}
{% include docs/install/flutter-doctor.md
target='Android'
diff --git a/src/platform-integration/android/install-android/install-android-from-web-on-chromeos.md b/src/platform-integration/android/install-android/install-android-from-web-on-chromeos.md
new file mode 100644
index 0000000000..29d37f8c22
--- /dev/null
+++ b/src/platform-integration/android/install-android/install-android-from-web-on-chromeos.md
@@ -0,0 +1,38 @@
+---
+title: Add Android devtools for Flutter from Web on ChromeOS start
+description: Configure your ChromeOS system to develop Flutter mobile apps for Android.
+short-title: When you started with Web on ChromeOS
+---
+
+To add Android as a Flutter app target for ChromeOS, follow this procedure.
+
+## Install Android Studio
+
+1. Allocate a minimum of 7.5 GB of storage for Android Studio.
+ Consider allocating 10 GB of storage for an optimal configuration.
+
+1. Install the following prequisite packages for Android Studio:
+ `libc6:i386`, `libncurses5:i386`, `libstdc++6:i386`, `lib32z1`, `libbz2-1.0:i386`
+
+ ```terminal
+ $ sudo apt-get install \
+ libc6:i386 libncurses5:i386 \
+ libstdc++6:i386 lib32z1 \
+ libbz2-1.0:i386
+ ```
+
+1. Install [Android Studio][] {{site.appmin.android_studio}} to debug and compile
+ Java or Kotlin code for Android.
+ Flutter requires the full version of Android Studio.
+
+{% include docs/install/compiler/android.md
+ target='linux'
+ devos='ChromeOS'
+ attempt="first" -%}
+
+{% include docs/install/flutter-doctor.md
+ target='Android'
+ devos='ChromeOS'
+ config='ChromeOSAndroidWeb' %}
+
+[Android Studio]: https://developer.android.com/studio/install#linux
diff --git a/src/platform-integration/android/install-android/install-android-from-web-on-linux.md b/src/platform-integration/android/install-android/install-android-from-web-on-linux.md
new file mode 100644
index 0000000000..a7be5b21fc
--- /dev/null
+++ b/src/platform-integration/android/install-android/install-android-from-web-on-linux.md
@@ -0,0 +1,38 @@
+---
+title: Add Android devtools for Flutter from Web on Linux start
+description: Configure your Linux system to develop Flutter mobile apps for Android.
+short-title: When you started with Web on Linux
+---
+
+To add Android as a Flutter app target for Linux, follow this procedure.
+
+## Install Android Studio
+
+1. Allocate a minimum of 7.5 GB of storage for Android Studio.
+ Consider allocating 10 GB of storage for an optimal configuration.
+
+1. Install the following prequisite packages for Android Studio:
+ `libc6:i386`, `libncurses5:i386`, `libstdc++6:i386`, `lib32z1`, `libbz2-1.0:i386`
+
+ ```terminal
+ $ sudo apt-get install \
+ libc6:i386 libncurses5:i386 \
+ libstdc++6:i386 lib32z1 \
+ libbz2-1.0:i386
+ ```
+
+1. Install [Android Studio][] {{site.appmin.android_studio}} to debug and compile
+ Java or Kotlin code for Android.
+ Flutter requires the full version of Android Studio.
+
+{% include docs/install/compiler/android.md
+ target='linux'
+ devos='Linux'
+ attempt="first" -%}
+
+{% include docs/install/flutter-doctor.md
+ target='Android'
+ devos='Linux'
+ config='LinuxWebAndroid' %}
+
+[Android Studio]: https://developer.android.com/studio/install#linux
diff --git a/src/platform-integration/android/install-android/install-android-from-web-on-macos.md b/src/platform-integration/android/install-android/install-android-from-web-on-macos.md
index b775cc71b8..d0436a43e5 100644
--- a/src/platform-integration/android/install-android/install-android-from-web-on-macos.md
+++ b/src/platform-integration/android/install-android/install-android-from-web-on-macos.md
@@ -17,7 +17,7 @@ To add Android as a Flutter app target for macOS, follow this procedure.
{% include docs/install/compiler/android.md
target='macos'
devos='macOS'
- time="first" -%}
+ attempt="first" -%}
{% include docs/install/flutter-doctor.md
target='Android'
diff --git a/src/platform-integration/android/install-android/install-android-from-web-on-windows.md b/src/platform-integration/android/install-android/install-android-from-web-on-windows.md
index fa8afdf77c..9bed63a8ba 100644
--- a/src/platform-integration/android/install-android/install-android-from-web-on-windows.md
+++ b/src/platform-integration/android/install-android/install-android-from-web-on-windows.md
@@ -17,7 +17,7 @@ To add Android as a Flutter app target for Windows, follow this procedure.
{% include docs/install/compiler/android.md
target='desktop'
devos='windows'
- time="first" -%}
+ attempt="first" -%}
{% include docs/install/flutter-doctor.md
target='Android'
diff --git a/src/platform-integration/android/install-android/install-android-from-windows.md b/src/platform-integration/android/install-android/install-android-from-windows.md
index 85e8351003..af3d26016c 100644
--- a/src/platform-integration/android/install-android/install-android-from-windows.md
+++ b/src/platform-integration/android/install-android/install-android-from-windows.md
@@ -17,12 +17,11 @@ To add Android as a Flutter app target for Windows, follow this procedure.
{% include docs/install/compiler/android.md
target='desktop'
devos='windows'
- time="first" -%}
+ attempt="first" -%}
{% include docs/install/flutter-doctor.md
target='Android'
devos='Windows'
- compiler='Android Studio'
config='WindowsDesktopAndroid' %}
[Android Studio]: https://developer.android.com/studio/install#win
diff --git a/src/platform-integration/desktop.md b/src/platform-integration/desktop.md
index a36b07dcd0..f0225e7d0b 100644
--- a/src/platform-integration/desktop.md
+++ b/src/platform-integration/desktop.md
@@ -23,130 +23,22 @@ macOS, or Linux platforms, or you can create your own.
[Building macOS apps with Flutter]: /platform-integration/macos/building
[Building Linux apps with Flutter]: /platform-integration/linux/building
-## Requirements
-
-To compile a desktop application,
-you must build it **on** the targeted
-platform: build a Windows application on Windows,
-a macOS application on macOS,
-and a Linux application on Linux.
-
-To create a Flutter application with desktop support,
-you need the following software:
-
-* Flutter SDK. See the
- [Flutter SDK][] installation instructions.
-* Optional: An IDE that supports Flutter.
- You can install [Android Studio][], [IntelliJ IDEA][],
- or [Visual Studio Code][] and
- [install the Flutter and Dart plugins][]
- to enable language support and tools for refactoring,
- running, debugging, and reloading your desktop app
- within an editor. See [setting up an editor][]
- for more details.
-
-[Android Studio]: {{site.android-dev}}/studio/install
-[Flutter SDK]: /get-started/install
-[install the Flutter and Dart plugins]: /get-started/editor
-[IntelliJ IDEA]: https://www.jetbrains.com/idea/download/
-[setting up an editor]: /get-started/editor
-[Visual Studio Code]: /tools/vs-code
-
-### Additional Windows requirements
-
-For Windows desktop development,
-you need the following in addition to the Flutter SDK:
-
-* [Visual Studio 2022][] or [Visual Studio Build Tools 2022][]
- When installing Visual Studio or only the Build Tools,
- select the "Desktop development with C++" workload,
- including all of its default components,
- to install the necessary C++ toolchain and
- Windows SDK header files.
-
-{{site.alert.note}}
- **Visual Studio** is different than Visual Studio _Code_.
-{{site.alert.end}}
-
-[Visual Studio 2022]: https://visualstudio.microsoft.com/downloads/
-[Visual Studio Build Tools 2022]: https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2022
-
-### Additional macOS requirements
-
-For macOS desktop development,
-you need the following in addition to the Flutter SDK:
-
-* [Xcode][] the full version of Xcode is required, not just the commandline tools
-* [CocoaPods][] if you use plugins
-
-[CocoaPods]: https://cocoapods.org/
-[Xcode]: {{site.apple-dev}}/xcode/
-
-### Additional Linux requirements
-
-For Linux desktop development,
-you need the following in addition to the Flutter SDK:
-
-{% include docs/linux-requirements-list.md %}
-
-One easy way to install the Flutter SDK along with the necessary
-dependencies is by using [snapd][].
-For more information, see [Installing snapd][].
-
-Once you have `snapd`, you can install Flutter
-using the [Snap Store][], or at the command line:
-
-```terminal
-$ sudo snap install flutter --classic
-```
-
-Alternatively, if you prefer not to use `snapd`,
-you can use the following command:
-
-{% include docs/linux-requirements-command.md %}
-
-[Snap Store]: https://snapcraft.io/store
-[Installing snapd]: https://snapcraft.io/docs/installing-snapd
-[snapd]: https://snapcraft.io/flutter
-
## Create a new project
You can use the following steps
to create a new project with desktop support.
-### Set up
-
-You might run `flutter doctor` to see if
-there are any unresolved issues.
-You should see a checkmark for each successfully
-configured area. It should look something like
-the following on Windows,
-with an entry for "develop for Windows":
-
-```terminal
-C:\> flutter doctor
-Doctor summary (to see all details, run flutter doctor -v):
-[✓] Flutter (Channel stable, 3.0.0, on Microsoft Windows [Version 10.0.19044.1706], locale en-US)
-[✓] Chrome - develop for the web
-[✓] Visual Studio - develop for Windows (Visual Studio Professional 2022 17.2.0)
-[✓] VS Code (version 1.67.2)
-[✓] Connected device (3 available)
-[✓] HTTP Host Availability
-
-• No issues found!
-```
+### Set up desktop devtools
-On macOS, look for a line like this:
+Consult the guide for your target desktop environment:
-```terminal
-[✓] Xcode - develop for iOS and macOS
-```
+* [Install Linux desktop devtools][Linux-devtools]
+* [Install macOS desktop devtools][macOS-devtools]
+* [Install Windows desktop devtools][Windows-devtools]
-On Linux, look for a line like this:
-
-```terminal
-[✓] Linux toolchain - develop for Linux desktop
-```
+[Linux-devtools]: /get-started/install/linux/desktop
+[macOS-devtools]: /get-started/install/macos/desktop
+[Windows-devtools]: /get-started/install/windows/desktop
If `flutter doctor` finds problems or missing components
for a platform that you don't want to develop for,
diff --git a/src/platform-integration/ios/install-ios/index.md b/src/platform-integration/ios/install-ios/index.md
index 79e76fa56b..0722bb8e43 100644
--- a/src/platform-integration/ios/install-ios/index.md
+++ b/src/platform-integration/ios/install-ios/index.md
@@ -11,7 +11,7 @@ click the [Getting Started path][] you followed.