设置flutter项目时,我收到错误消息尝试在https://pub.dartlang.org

时间:2019-07-30 06:22:28

标签: ssl flutter get

当我想创建新的flutter项目文件时,出现错误消息,

我尝试设置环境变量'http_proxy'和'https_proxy' 但是,它不起作用。在flutter或dart pub中是否有SSL设置?

Got TLS error trying to find package cupertino_icons at https://pub.dartlang.org.
pub get failed (69) -- attempting retry 1 in 1 second...
Running "flutter pub get" in test33...
Got TLS error trying to find package cupertino_icons at https://pub.dartlang.org.
pub get failed (69) -- attempting retry 2 in 2 seconds...
Got TLS error trying to find package cupertino_icons at https://pub.dartlang.org.
pub get failed (69) -- attempting retry 3 in 4 seconds...
Got TLS error trying to find package cupertino_icons at https://pub.dartlang.org.
pub get failed (69) -- attempting retry 4 in 8 seconds...
Got TLS error trying to find package cupertino_icons at https://pub.dartlang.org.
pub get failed (69) -- attempting retry 5 in 16 seconds...
Got TLS error trying to find package cupertino_icons at https://pub.dartlang.org.
pub get failed (69) -- attempting retry 6 in 32 seconds...
Got TLS error trying to find package cupertino_icons at https://pub.dartlang.org.
pub get failed (69) -- attempting retry 7 in 64 seconds...
Got TLS error trying to find package cupertino_icons at https://pub.dartlang.org.

0 个答案:

没有答案