发表日期:2018-07 文章编辑:小灯 浏览次数:1188
此处不讲原理,只讲配置方法。用简单的文字,先把demo跑起来再说。因为我自己都还不懂原理,一脸懵逼,哈哈哈哈哈。做个笔记,其他东西,慢慢的就晓得了
此处默认电脑上已经有git了
PUB_HOSTED_URL=https://pub.flutter-io.cn FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn git clone https://gitee.com/mirrors/Flutter.git
image在as中,添加flutter和dart插件
在PowerShell(管理员)下输入flutter doctor
image
image如果
flutter doctor后,出现[!] Android toolchain - develop for Android devices (Android SDK 27.0.3)则在PowerShell中输入flutter doctor --android-licenses
image
image方法二:用AS
image
image然后next直到finish就可以了
image