Flutter development environment to build

Prelude to illustrate the point

When you open the document, you're ready, we did not talk much to open out.

1, the hardware requirements:

系统:  Win7 以上64位系统
内存:  内存大于3G,最好大于5G以上

2, software requirements:
Download Flutter SDK
download JDK
download Studio the Android
. 3, software installation and configuration

Installation and Configuration 3-1 JDK

  • Install JDK, has nothing to say the next step on the line, do not have Chinese directory.
  • Configuring JDK
我安装的路径为:   C:\Develop\Java\jdk1.8.0_05
配置的目录:       C:\Develop\Java\jdk1.8.0_05\bin
右键我的电脑--属性--高级系统设置--环境变量--系统变量Path--新建--填入路径--确定--确定
  • Check whether the configuration JDK
Win +R---cmd--输入      
java -version 
显示下图显示配置成功
12318913-f9bb9b18db202c7f.png
java successfully configured

3-2 Flutter SDK

我下载解压的路径为:   C:\Develop\flutter
配置的目录:          C:\Develop\flutter\bin
右键我的电脑--属性--高级系统设置--环境变量--系统变量Path--新建--填入目录--确定--确定
  • Check whether the configuration Flutter
Win +R---cmd-----输入      
flutter 
显示下图显示配置成功
12318913-a87ddd4152ea0cd8.png
Flutter successful configuration

3-3 Installing Android Studio

Android Studio 3-4 start to install the plug

  • If you first install Android Studio, the home side Plugins ---- In the Configure the
    search flutter, you agree to install Dart install plug-ins, restart the AS.
成功的标志----有一个Start a New Flutter project
  • If you have installed Android Studio, in the File ----- Settings ---- Plugins ----
    Search flutter, agree to install Dart install plug-ins, restart the AS.

3-5 Fluter environmental inspections

Win +R---cmd-----输入      
flutter doctor  
没啥解释的,对号就是没问题了
12318913-6501b68444a77d28.png
Flutter environmental inspections
  • This shows that you need to install Flutter agreement, the statement has also been
继续输入     
flutter doctor --android-licenses  
有y/n的,这个毫无疑问输入y
12318913-97c52d7e7726d84f.png
All successful

All of this construction work has been completed, next step is to learn Dart grammar and writing format.

FAQ

And answering questions

Reproduced in: https: //www.jianshu.com/p/d62bcf6acddc

Guess you like

Origin blog.csdn.net/weixin_33785972/article/details/91215926