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
,但沒有奏效。