[1.0] Flutter environment to build and create HelloWorld

Platform: WIndows10

Configuration Environment

1. Download the SDK, enter the official website of choice to date. I choose here is the v1.9.1 + hotfix.2 version, it is recommended to use Thunder download, speed fast ~

2. Extract Flutter, and then enters the flutter / bin directory, copy down the system environment variable added to this address, as shown in FIG.

3. Enter in cmd shown below flutter if there is an environment variable which represents the configuration is successful.

Then you can enter flutter doctor, to detect what the environment is completely dependent flutter (obviously impossible to complete, suggesting the need to download, you can direct Y).

Note that if the download speed is slow or you will not magic the Internet, use the temporary image:

export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn

In addition to the user's system environment variable.

3. If your Android Studio has been installed flutter plugin, you will see the following interface.

We're done! This can be friends ~ AS start to create your first project it flutter.

 

Guess you like

Origin www.cnblogs.com/robotpaul/p/11586721.html