Flutter development environment configuration
software download
- SourceTree Code Warehouse Management Software Download
- .NETFramework 4.7.1+ download link
- AndroidStudio download address
- Flutter SDK download address
- Powner Shell download address
- Git For Windows download address
- Android SDK
If the above software is already installed, you can ignore it
Environment variable configuration
- Right click this computer => Properties => Advanced System Settings => Environment Variables. Open the environment variable configuration
- Find the path node in the user variable (if not, create a new one): Copy the path address where flutter is installed on the computer, all the way to the bin directory, such as C:\src\flutter\bin
- Create a new PUB_HOSTED_URL in user variables: https://pub.flutter-io.cn (temporary mirror configuration, not necessary)
- Create a new FLUTTER_STORAGE_BASE_URL in the user variables: https://storage.flutter-io.cn (temporary mirror configuration, not necessary, recommended configuration)
- After configuration, click Save. Open the command line and enter the following command to view the running result (the process is slow)
flutter doctor
Install AndroidStudio, configure Android development environment
Reference blog post link: environment setup | Windows install Android SDK