報錯內容: timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings either in IDE or Gradle.
百度了好多方法但是依然解決不了,包括使用阿里云鏡像和下載gradle包
uj5u.com熱心網友回復:
兩個地方需要配置1 在IDE的設定配置有網路選項,在里面追加proxy資訊(代理服務器,埠,用戶名,密碼)
2 在user_home/.gradle/gradle.properties檔案追加以下內容
systemProp.http.proxyHost=xxx
systemProp.http.proxyPort=8080
systemProp.http.proxyUser=****
systemProp.http.proxyPassword=****
systemProp.https.proxyHost=xxx
systemProp.https.proxyPort=8080
systemProp.https.proxyUser=****
systemProp.https.proxyPassword=****
轉載請註明出處,本文鏈接:https://www.uj5u.com/yidong/246672.html
標籤:Android
