Flutter window安装(1)

flutter中文官网

1.安装git

2.cmd : git clone https://github.com/flutter/flutter.git

2.添加用户 Path 路径 : 找到flutter安装目录添加到 /bin

3.cmd : 执行 flutter doctor

出错以后,连接不到服务器?

4.配置国内环境,在环境变量中添加用户 Path 变量:

PUB_HOSTED_URL ->https://pub.flutter-io.cn 

 FLUTTER_STORAGE_BASE_URL ->https://storage.flutter-io.cn

5.cmd : 执行flutter upgrade

6.flutter 安装完毕。

7.配置Android studio下载dart 插件

你可能感兴趣的:(Flutter window安装(1))