一。安装Android Studio环境以及SDK(注:根据官方文章介绍,这里要使用AS 3.0.1版本),这里不再赘述
二。可以打开官方文档介绍进行了解步骤:https://flutter.io/setup-windows/#update-your-path,
官方步骤如下:
第一步:需要git工具(Git for Windows),安装后,创建一个安装flutterSdk的目录(类似于D:\ide\flutterSdk)后,在git命令行,键入 git clone -b beta https://github.com/flutter/flutter.git,进行克隆flutter的sdk;
第二步:配置flutter的sdk路径到环境变量Path下,类似于D:\ide\flutterSdk\flutter\bin;如图:
第三步 :打开CMD,依次键入命令
1. flutter doctor
2.flutter
3.flutter config
4.flutter config --no-analytics
四个命令都完成以后就初步配置好了
三。.然后,进入Android Studio,进行配置;打开settings->Plugins,分别搜索flutter、Dart进行安装
,安装后重启Android Studio;(注:这里安装了两个东西,分别是Flutter和 Dart)
4.开发环境配置flutter的Sdk路径:打开settings->Languages & Frameworks->Flutter,配置路径:类似于D:\ide\flutterSdk\flutter,如图:
确定后,关闭settings,再次打开进入settings->Languages & Frameworks->Dart,我们可以看到,系统自动配置好了Dark的Sdk Path
四。到这里,就配置完成了;可以创建项目了,如图
附加demo :flutter_demo
另附加一篇flutter介绍的深度文章:http://www.infoq.com/cn/articles/why-is-flutter-revolutionary
官方链接:https://github.com/flutter/flutter
https://flutter.io/setup-windows/#update-your-path
https://github.com/flutter/flutter-intellij