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
設(shè)置git代理
打開lantern-設(shè)置,看到(比如) HTTP(S)代理服務(wù)器:127.0.0.1:53783
cmd設(shè)置代理 git config --global http.proxy "127.0.0.1:53783"
重新packages get
,成功!