Flutter development environment installation

Download flutter SDK

URL: flutter.dev/docs/get-st...

SDK to extract the corresponding directory

Add a global variable

FIG effect command line:

Use flutter doctor command to check whether the installation is complete flutter environment

Run flutter doctor --android-licenses consent agreement, has been selected Y

Jdk installation environment, FIG java command line:


Install Android Studio, and then install the plug-Flutter

Complete results as shown:

After the installation is complete restart IDE

Install Virtual Machine

Installation vscode IDE, and then install the plug flutter as:


Create a flutter project

Use android create flutter project, as:


Select Create a Flutter Application

next->finish

Start Andrews simulator and run the project

Figure:

android studio run the project

Figure:


It represents the successful installation environment

vscode used flutter

Importing project folder, open the simulator, using the flutter run command to run the project



Reproduced in: https: //juejin.im/post/5cfefe45f265da1b5f264b3d

Guess you like

Origin blog.csdn.net/weixin_33690367/article/details/91449655