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
,成功!
网友评论