1. Data download
1.1 Flutter Course + Material download
1.2 Making the download
1.3 Official website to download
2. Install the Flutter
2.1 Windows
1) Decompress the installation package zip to the path where you want to install the Flutter SDK (e.g. C:\ Flutter; Note that do not install flutter into a path that requires some high permissions such as C:\Program Files\).
2) Add the following environment variables: Computer > Properties > Advanced System Settings > Advanced > Environment Variables
PUB_HOSTED_URL = pub. Flutter – IO. Cn (if not available you can use mirrors.tuna.tsinghua.edu.cn/flutter)
FLUTTER_STORAGE_BASE_URL= storage.flutter_storage_base_url (https://mirrors.tu…
Path = C:\Flutter\bin
The first two are the domestic mirror images of Flutter
2.2 macos
1) Unzip the files
For example, install the Flutter file ~/Desktop/Flutter
cd ~/Desktop/Flutter
Unzip the ~ / Downloads/flutter_macos_1. 20.2 – stable. Zip
2) Configure environment variables
Add the following environment variables to the user environment variables:
vim $HOME/.bash_profile
Save the following commands, for example: The flutter installation path is ~/Desktop/ flutter
export PUB_HOSTED_URL=pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=storage.flutter-io.cn
export PATH=~/Desktop/Flutter/flutter/bin:$PATH
To check environment variables, run the following two commands to check whether PATH is added successfully
source $HOME/.bash_profile
echo $PATH
Download Android Studio /Xcode
3.1 the Xcode installation
The installation is relatively simple, you can download it from the App store, and the emulator is also available after downloading, and it does not use Xcode to make the IDE, but only needs the emulator to run the app, so I will not go into details
3.2 the Android studio installation
(The installation is guaranteed to have a stable network, because you need to download during the installation, if there is a problem with the download, you may not be able to use it properly.)
1) Download from the official website
2) Open Android Studio -> Preferences -> Plugin, install the Flutter Plugin, Dart Plugin and restart AS
3.3 Installing the Emulator
3.4 Installing Android SDK Tools (Obsolete)
3.5 Run the flutter doctor command
Check that the flutter is properly installed
If an error occurs, you can run the command as prompted, for example:
Four options box that is install all success (no xcode Windows environment that a) collected from | the original address