There have been numerous articles on the website and elsewhere about the installation and configuration of the FLUTTER. However, the problems encountered during the installation of the FLUTTER have been solved. I believe this is of great concern to you.



First we attach the general installation and environment configuration process:

1. Configuration requirements:

Minimum Configuration requirements

  • Operating system: WIndows7 or higher 64-bit operating system
  • Development tools: Android Stuido 3.0 or above, Java JDK 1.8 or above
  • Disk space: minimum 400MB(not including Android Studio installation space)
  • Tools: The following command-line tools need to be installed for Flutter

    • Git For Windows(select Use Git from the Windows Command when installing Git.) If Git is already installed, ensure that you can run Git commands from the Command line

2. Download Flutter: github.com/flutter/flu… , you can use git command or directly download

$git clone -b beta github.com/flutter/flu…

Direct download:

3. Environment configuration: find the folder where the flutter was downloaded and configure environment variables in the path (my own computer is D:\flutter\bin;).



4: Test environment: In the Windows command window: flutter doctor if the following information is displayed normally:



5. Configure the Android Studio environment:

Dart and flutter are searched in the Plugins window in Settings to download dart and then flutter.



After downloading, associate dart SDK with flutter SDK:

First associate the Flutter SDK



Then associate the DART SDK



6. Publish your first Flutter project:



Successful operation effect picture:



If you don’t run into problems along the way, congratulations!

Next, pits:

Unknown Operating system. Cannot install Dart SDK

Unknown operating System. Cannot install Dart SDK is displayed after entering flutter doctor in the command window. Yellow and green characters connecting dark SDK installation fails. Find the folder where flutter is located, go to Flutter_console. bat, right-click to run flutter as administrator, and continue with flutter doctor

Unable to locate Android SDK

X Unable to locate Android SDK is prompted after entering flutter doctor in the command window. At this time, ANDROID_HOME, D:\Android\android-sdk is added to the user environment variable, which will take effect after the computer restarts.



Pit 3: SDkManager not found

Sdkmanager not found in the SDK \tools\bin directory after entering flutter doctor in the command window. Open our Android Studio Settings to find the SDK Settings, select SDK Tools, check Android SDK Tools, after downloading, configure ANDROID_HOME and restart



Pit 4: No devices available

This problem should be solved easily by opening our Android Studio, finding the device and re-running the Flutter Doctor

Hole 5: The SDK license for 8.0 is available

In the findflutter_console.bat, right click flutter doctor — Android-Licenses, pop up y/n, enter y and press Enter.

All right, good luck with your demo.