美文网首页
Flutter卡在Running "flutter packag

Flutter卡在Running "flutter packag

作者: joyshion | 来源:发表于2019-01-24 15:55 被阅读0次

    环境搭建好,新建的项目卡在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