Flutter first experience - environment to build

Fluter recent fire up, it's a bit much, and today I do a tutorial Flutter installed in Windows.

First, download

   No matter what software you want to install, you have to download it. I use SourceTree, address: https://github.com/flutter/flutter.git , pro-test successfully downloaded, make a note of the path where the download folder will be used later.

Second, modify environment variables

    Go to System -> Advanced System Settings -> Environment Variables

Select Path in the system environment variables, edit

Put your download folder path, including the bin folder, write Path

Third, the installation

    Click flutter_console.bat file to begin the installation

After waiting for a long-N, the installation was successful

After the restart the computer to take effect, very important!

Fourth, configure Android Studio

    Open Android Studio, File-> Settings-> Plugins, FIG.

Click OK, installation Flutter, also with the way the Dart installed.
After installing the best restart about Android Studio.
 
Five new projects
    New Project helloworld, note that New Flutter Project.
Flutter is a project like this, can simultaneously develop Android and IOS.
Note that there will be, there is a hole where pro-test, after the installation of Flutter phenomenon is no device,
Just enter flutter config --android-sdk SDK path you like.
 
Sixth, developed to run
    I used to write a lot of Dart Demo, would later write in the development of some of Flutter of course, run on Android and common projects, click the small green triangle and ran up.
 
 
knowledge is power! ! !

Guess you like

Origin www.cnblogs.com/xdfapp/p/11239198.html