环境搭建好,新建的项目卡在Running "flutter packages get",flutter的包在https://storage.googleapis.com
上面,原因你懂的,还好官方有解决方案,传送门
解决方法:
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
环境搭建好,新建的项目卡在Running "flutter packages get",flutter的包在https://storage.googleapis.com
上面,原因你懂的,还好官方有解决方案,传送门
解决方法:
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
本文标题:Flutter卡在Running "flutter packag
本文链接:https://www.haomeiwen.com/subject/jlxujqtx.html
网友评论