Gradle project xxx refresh failed Error:Unable to tunnel through proxy. Proxy returns HTTP/...
生活随笔
收集整理的這篇文章主要介紹了
Gradle project xxx refresh failed Error:Unable to tunnel through proxy. Proxy returns HTTP/...
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
SVN地址更換重新導入項目到AS后,點擊編譯報錯:
Gradle project xxx refresh failed Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request解決辦法:
打開項目文件:gradle->wrapper->gradle-wrapper.properties
修改distributionUrl為本地的gradle版本即可,我直接去就項目復制過來
distributionUrl=https\://services.gradle.org/distributions/gradle-2.2.1-all.zip編譯通過OK.
當然也可以不修改去離線下載gradle-2.10-all.zip,加到本地重新編譯通過。
總結
以上是生活随笔為你收集整理的Gradle project xxx refresh failed Error:Unable to tunnel through proxy. Proxy returns HTTP/...的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Cannot resolve corre
- 下一篇: Unlinked Gradle proj