Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.
在把http/https代理都设置上就可以了。
systemProp.http.proxyHost=some.proxy.adress.com
systemProp.http.proxyPort=3128
systemProp.https.proxyHost=some.proxy.adress.com
systemProp.https.proxyPort=3128
这个位置设置:在local.properties 文件中加入下面两行

本文介绍了解决Gradle构建过程中出现的Connectiontimedout错误的方法,通过配置http和https代理,具体是在local.properties文件中设置proxyHost和proxyPort。

2435

被折叠的 条评论
为什么被折叠?



