Error:Connection timed out: connect. If you are behind an HTTP proxy, please....

今天导入GitHub上别人的项目的时候as报错,提示Error:Connection timed out: connect. If you are behind an HTTP proxy, please...


然后上网查了很久,找到一个解决办法:


在gradle.properties文件的最下方加入这两句即可。顺带一提,我用的是2.1的as。特此记录。


systemProp.https.proxyHost=some.proxy.adress.com
systemProp.https.proxyPort=3128


猜你喜欢

转载自blog.csdn.net/o0_Jimmy_0o/article/details/51148156
今日推荐