Without further ado, build the Flutter environment directly by hand

Directory navigation:

  • Download VSCode

  • Download Flutter source

  • Download the Android SDK

  • Configuring environment Variables

  • Run the doctor command

  • Other problems

Download VSCode

  1. Open code.visualStudio.com/, according to PC system, select phase…

  2. Open VSCode, select the plugin, enter flutter and select the first one as shown. Dart plugin is installed by default when the Flutter plugin is installed.

Download the Flutter source code from gitee.com

Make sure you have Git installed before you do this

Open the command line tool and enter

git clone https://gitee.com/mirrors/Flutter.git
Copy the code

Wait for…

Download the Android SDK

Download the Android SDK from www.androiddevtools.cn/

4. Configure environment variables

After downloading the source code for Flutter, open environment variable Settings, find Path in system variables, and add your Path as shown below

5. Run the doctor command

Now that all the prerequisites are in place, we have the development tools, we have the SDK, and it’s time to open up the command line and type

flutter doctor
Copy the code

Download the Dart SDK in the background, wait…

Wait for the following result:

Now all the preparations are over. In the next article, we’ll create a project and run it on the Android emulator.

6. Other issues

  • I do not have iOS devices and Mac computers, iOS related please baidu query solutions

  • All operations may need to wait because of network problems, please search baidu solution