美文网首页
flutter gallery拉资源失败,提示Failed to

flutter gallery拉资源失败,提示Failed to

作者: jjkopen | 来源:发表于2018-06-22 09:45 被阅读68次
    Doctor summary (to see all details, run flutter doctor -v):
    [√] Flutter (Channel beta, v0.5.1, on Microsoft Windows [Version 10.0.15063], locale zh-CN)
    [√] Android toolchain - develop for Android devices (Android SDK 28.0.0)
    [√] Android Studio (version 3.1)
    [√] IntelliJ IDEA Ultimate Edition (version 2018.1)
    [√] Connected devices (1 available)
    

    从flutter目录下copy flutter gallery,IJ/AS打开,拉资源失败,提示Failed to connect to flutter.googlesource.com port 443: Timed out

    设置git代理
    打开lantern-设置,看到(比如) HTTP(S)代理服务器:127.0.0.1:53783
    cmd设置代理 git config --global http.proxy "127.0.0.1:53783"
    重新packages get,成功!

    相关文章

      网友评论

          本文标题:flutter gallery拉资源失败,提示Failed to

          本文链接:https://www.haomeiwen.com/subject/jfnhyftx.html