使用AS遇到Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.错误
在网上找到一个解决方法:
拷贝代码
systemProp.http.proxyHost="copied proxy host"
systemProp.http.proxyPort="copied proxy port"
systemProp.https.proxyHost="copied proxy host"
systemProp.https.proxyPort="copied proxy port"
粘贴到grade- wrapper.properties中
重新编译就可以了。