Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"

来源:互联网 发布:淘宝新店扶植期 编辑:程序博客网 时间:2024/06/05 05:12

转自:http://stackoverflow.com/questions/34313299/gradle-project-refresh-failed-after-androidstudio-update
Gradle project refresh failed after AndroidStudio update
问题描述:“”
I built some android projects with android studio 1.4. Today my computer broke and I reinstalled my operating system . I installed android studio 1.5,but it didn’t work with the old projects.I built some new projects and there’s no errors.When I open the old projects,there is an error.

Error:Unable to tunnel through proxy. Proxy returns “HTTP/1.1 400 Bad Request”

I can’t find any information about this error,how can I deal with the old projects?

解决办法:
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.

shareimprove this answer
answered Dec 17 ‘15 at 2:12

guangyin shi

0 0
原创粉丝点击