Android studio出现Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request&q
缥帙各舒散,前后互相逾。这篇文章主要讲述Android studio出现Error:Unable to tunnel through proxy. Proxy returns "
HTTP/1.1 400 Bad Request&q相关的知识,希望能为你提供帮助。
最近更新了一下android Studio(下文简写成AS),然后打开工程发现出现Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request",如图:

文章图片
什么鬼。几番折腾,终于知道原因了。直接写解决方案吧。
1。打开设置

文章图片
2。依次选择图中的第一步,第二步。并设置gradle的目录

文章图片

文章图片
3。设置好后应用,并点OK.

文章图片
【Android studio出现Error:Unable to tunnel through proxy. Proxy returns " HTTP/1.1 400 Bad Request&q】4。刷新Gradle

文章图片
5。运行,错误解决

文章图片
如果没有gradle,可以到:http://services.gradle.org/distributions去下载,解压,然后就可以按照这个方法选择了
参考:Android studio出现Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"的解决办法
推荐阅读
- Android实践之ScrollView中滑动冲突处理
- Android实现搜索框内自动完成文本框
- Android(ListView自动生成列表条目)
- Android:普通对话框Dialog
- 07_android入门_採用HttpClient的POST方式GET方式分别实现登陆案例
- Android开发中使用数据库时出现java.lang.IllegalStateException: Cannot perform this operation because the connect
- Java DB 访问之 mybatis mapper xml 配置方式
- C#中AppDomain.CurrentDomain.BaseDirectory与Application.StartupPath的区别
- 视频教程一步步将AppBox升级到Pro版