flutter environment configuration window10

The first step, configure git environment, as this is the tip of the meeting, if you do not, go ask your mother degrees

The second step, the configuration java development environment

https://www.oracle.com/technetwork/java/javase/downloads/jdk12-downloads-5295953.html

After a successful download directly installed, then go to the system environment variables configured java environment variables

You can then enter cmd in java watching whether the configuration

 

 The third step is to download flutter, establishing a local warehouse

git clone -b stable https://github.com/flutter/flutter.git

Here you may need to configure the look of your user environment variable, because of domestic restrictions

PUB_HOSTED_URL=https://pub.flutter-io.cn    

FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn

Then you can type in cmd flutter doctor, he will tell you what other environment or tool no download

 

 

 Then, to download android studio this time may need to design over the wall, hanging ladder, after downloading successfully installed, the next step is basically the next step, unless you do not want to put sdk c disk, you can choose what to install address

Download time is relatively long and requires patience wait for a while

Then, open android studio ---> setting -> pulgins search plug-ins installed two plug-Dart and Flutter

 

 Then enter cmd flutter doctor, you'll wears android studio that has a tick, but you will find one or two certificates are not installed

 

 Then, enter cmd flutter doctor --android-licenses,然后一直按y就可以了

 Then restart Android studio, and then create a flutter project

 

Guess you like

Origin www.cnblogs.com/ldlx-mars/p/11368373.html