升级AndroidStudio或者导入其他电脑项目时,有时报错:
android studio Error:Unable to tunnel through proxy. Proxy returns “HTTP/1.1 400 Bad Request”
见:Gradle project refresh failed after AndroidStudio update
I solved this problem.Just changed the information in gradle->wrapper->gradle-wrapper.properties->distributionUrl=https://services.gradle.org/distributions/gradle-2.4-all.zip to https://services.gradle.org/distributions/gradle-2.8-all.zip.And it works for me.
也就是需要更改gradle版本
本文解决在升级Android Studio或导入其他电脑项目时遇到的代理错误问题,通过更改Gradle版本解决了Gradle项目刷新失败的问题。
2244

被折叠的 条评论
为什么被折叠?



