Git https://git-scm.com/downloads
选择Git分支下载(哪个快选哪个)
git clone -b beta https://github.com/flutter/flutter.git
git clone -b alpha https://github.com/flutter/flutter.git
git clone -b dev https://github.com/flutter/flutter.git
git clone https://github.com/flutter/flutter.git
git clone git://github.com/flutter/flutter.git
配置用户环境变量(配置完最好重启一下)
PUB_HOSTED_URL=https://pub.flutter-io.cn
FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
扫描二维码关注公众号,回复:
3338070 查看本文章
配置系统变量(git 下载的flutter目录下bin)
到flutter下载目录找到flutter_console.bat双击运行
输入flutter doctor 运行
在AS中下载插件flutter
配置相关目录