1
我在Android Studio上添加volley
时遇到问题。 在Android Studio`添加volley
后,当我同步的项目的gradle它说:在Android Studio上添加齐射后Gradle同步失败
Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.
gradle sync failed: Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.
Consult IDE log for more details (Help | Show Log)
我尝试下面的方法:HTTP设置在gradle.properties
systemProp.http.proxyHost=www.somehost.org
systemProp.http.proxyPort=8080
systemProp.http.proxyUser=userid
systemProp.http.proxyPassword=password
systemProp.http.nonProxyHosts=*.nonproxyrepos.com|localhost
,但没有奏效。