V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
From313
V2EX  ›  程序员

[求助]搞 Flutter 的来...卡在 Building flutter tool...死活不动

  •  
  •   From313 · 2020-04-21 16:57:24 +08:00 · 7196 次点击
    这是一个创建于 1465 天前的主题,其中的信息可能已经有所发展或是发生改变。
    • 我这边不管用啥命令,都卡在 Building flutter tool...
    • flutter doctor 也是卡在 Building flutter tool...
    • 网上没搜到能用的解决办法..求问咋弄
    7 条回复    2020-04-22 02:25:15 +08:00
    xrr2016
        1
    xrr2016  
       2020-04-21 17:10:03 +08:00   ❤️ 1
    看起来像网络原因,你给终端加代理翻墙试试?
    huijiewei
        2
    huijiewei  
       2020-04-21 17:21:28 +08:00   ❤️ 1
    kassadin
        3
    kassadin  
       2020-04-21 17:22:10 +08:00   ❤️ 1
    flutter -v 看详细过程
    基本上是网络
    youxiachai
        4
    youxiachai  
       2020-04-21 17:25:04 +08:00
    为啥不用中国镜像...flutter 中国镜像..其实蛮好的...
    quan01994
        5
    quan01994  
       2020-04-21 17:25:31 +08:00   ❤️ 1
    export PUB_HOSTED_URL=https://pub.flutter-io.cn
    export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
    flutter doctor
    janxin
        6
    janxin  
       2020-04-21 17:28:05 +08:00   ❤️ 1
    你刚安装完 Flutter,Flutter 需要从 Google 服务器上拉一堆东西下来

    解决方案就是 5L 说的加环境变量
    1002xin
        7
    1002xin  
       2020-04-22 02:25:15 +08:00
    Surge Enhanced Mode
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3374 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 12:07 · PVG 20:07 · LAX 05:07 · JFK 08:07
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.