diff --git a/_config.yml b/_config.yml index 3410aaa3ed..0881e0b24f 100644 --- a/_config.yml +++ b/_config.yml @@ -94,7 +94,7 @@ targetmin: ## Software current versions appnow: - flutter: '3.19.0' + flutter: '3.19.3' vscode: '1.86' android_studio: '2023.1 (Hedgehog) or later' android_sdk: '34.0.0' diff --git a/src/_data/doctor.yml b/src/_data/doctor.yml index b1e9d2e949..a640b5805a 100644 --- a/src/_data/doctor.yml +++ b/src/_data/doctor.yml @@ -1,3 +1,51 @@ +ChromeOSWeb: + degree: 1 + windows: 'X' + linux: 'X' + android-toolchain: 'N' + chrome: 'Y' + xcode: 'X' + visual-studio: 'X' + android-studio: 'N' + errors: 3 + add-android: 'Y' + add-chrome: 'N' + add-simulator: 'X' + add-xcode: 'X' + add-linux-tools: 'X' + add-visual-studio: 'X' +ChromeOSAndroid: + degree: 1 + windows: 'X' + linux: 'X' + android-toolchain: 'Y' + chrome: 'N' + xcode: 'X' + visual-studio: 'X' + android-studio: 'Y' + errors: 2 + add-android: 'N' + add-chrome: 'Y' + add-simulator: 'X' + add-xcode: 'X' + add-linux-tools: 'X' + add-visual-studio: 'X' +ChromeOSAndroidWeb: + degree: 2 + windows: 'X' + linux: 'X' + android-toolchain: 'Y' + chrome: 'Y' + xcode: 'X' + visual-studio: 'X' + android-studio: 'Y' + errors: 0 + add-android: 'N' + add-chrome: 'N' + add-simulator: 'X' + add-xcode: 'X' + add-linux-tools: 'X' + add-visual-studio: 'X' LinuxAndroid: degree: 1 windows: 'X' diff --git a/src/_data/shells.yml b/src/_data/shells.yml new file mode 100644 index 0000000000..99eb71105f --- /dev/null +++ b/src/_data/shells.yml @@ -0,0 +1,14 @@ +- name: bash + set-path: echo 'export PATH="$HOME/development/flutter/bin:$PATH"' >> ~/.bash_profile +- name: zsh + set-path: echo 'export PATH="$HOME/development/flutter/bin:$PATH"' >> ~/.zshenv +- name: fish + set-path: fish_add_path -g -p $HOME/development/flutter/bin +- name: csh + set-path: echo 'setenv PATH "$HOME/development/flutter/bin:$PATH"' >> ~/.cshrc +- name: tsch + set-path: echo 'setenv PATH "$HOME/development/flutter/bin:$PATH"' >> ~/.tcshrc +- name: ksh + set-path: echo 'export PATH="$HOME/development/flutter/bin:$PATH"' >> ~/.profile +- name: sh + set-path: echo 'export PATH="$HOME/development/flutter/bin:$PATH"' >> ~/.profile diff --git a/src/_data/sidenav.yml b/src/_data/sidenav.yml index 61be12c474..5a5157aded 100644 --- a/src/_data/sidenav.yml +++ b/src/_data/sidenav.yml @@ -392,6 +392,8 @@ - title: Linux permalink: /platform-integration/linux children: + - title: Add Linux as build target + permalink: /platform-integration/linux/install-linux - title: Build a Linux app permalink: /platform-integration/linux/building - title: macOS diff --git a/src/_includes/docs/install/accordions/install-chrome-from-cli.md b/src/_includes/docs/install/accordions/install-chrome-from-cli.md new file mode 100644 index 0000000000..133eed6aeb --- /dev/null +++ b/src/_includes/docs/install/accordions/install-chrome-from-cli.md @@ -0,0 +1,14 @@ + +
+How to install Chrome from the command line + +```terminal +$ wget https://dl-ssl.google.com/linux/linux_signing_key.pub -O /tmp/google.pub +$ gpg --no-default-keyring \ + --keyring /etc/apt/keyrings/google-chrome.gpg \ + --import /tmp/google.pub +$ echo 'deb [arch=amd64 signed-by=/etc/apt/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main' | sudo tee /etc/apt/sources.list.d/google-chrome.list +$ sudo apt-get update -y; sudo apt-get install -y google-chrome-stable +``` + +
diff --git a/src/_includes/docs/install/compiler/android.md b/src/_includes/docs/install/compiler/android.md index 97ed560a28..9adfb3aead 100644 --- a/src/_includes/docs/install/compiler/android.md +++ b/src/_includes/docs/install/compiler/android.md @@ -3,7 +3,7 @@ {% assign devos = include.devos %} {% assign target = include.target %} {% assign compiler = include.compiler %} -{% assign time = include.time %} +{% assign attempt-time = include.attempt %} {% case devos %} {% when 'Windows' -%} @@ -21,8 +21,23 @@ {% include docs/help-link.md location='android-studio' section='#android-setup' %} +To create Android apps with Flutter, verify that the following Android +components have been installed. + +* **Android SDK Platform, API {{ site.appnow.android_sdk }}** +* **Android SDK Command-line Tools** +* **Android SDK Build-Tools** +* **Android SDK Platform-Tools** +* **Android Emulator** + +If you haven't or don't know, continue with the following procedure. + +Otherwise, you can skip to the [next section][check-dev]. + +[check-dev]: #check-your-development-setup + {% comment %} Nav tabs {% endcomment -%} -