【问题标题】:pub get failed (69); Socket error trying to find cupertino_icons in https://pub.dartlang.org发布失败(69);尝试在 https://pub.dartlang.org 中查找 cupertino_icons 的套接字错误
【发布时间】:2019-09-20 14:30:00
【问题描述】:

我最近下载了 Flutter SDK,一切都很顺利,直到我克隆了一个项目,当它试图获取包时。它只是一次又一次地失败。 我可以通过浏览器访问该网站,所以这不是代理问题或其他问题。

有什么想法吗? 这是错误:

pub get failed (69) -- attempting retry 1 in 1 second...
Running "flutter pub get" in ethio_scholars_flutter_app.Got socket error trying to find package string_scanner at https://pub.dartlang.org.
pub get failed (69) -- attempting retry 2 in 2 seconds...
Got socket error trying to find package string_scanner at https://pub.dartlang.org.
pub get failed (69) -- attempting retry 3 in 4 seconds...
Got socket error trying to find package string_scanner at https://pub.dartlang.org.
pub get failed (69) -- attempting retry 4 in 8 seconds... ```

【问题讨论】:

标签: android http flutter dart cmd


【解决方案1】:

听起来您在代理 not properly configured 后面。另见the workaround here

【讨论】:

    猜你喜欢
    • 2019-02-09
    • 2019-07-03
    • 2018-12-21
    • 2020-06-10
    • 2019-04-21
    • 2020-12-07
    • 2020-06-10
    • 2021-06-18
    • 2015-06-24
    相关资源
    最近更新 更多