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

android studio运行会遇到Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"的错误

解决办法是  

android studio里点开Preferences

  ->Build,Execution,Deployment

  ->Build Tools

  ->Gradle选择use local gradle distribution,

  然后设置Gradle Home,

  点击Apply、Ok

 

 

【声明】 


欢迎转载,但请保留文章原始出处


博客地址:http://www.cnblogs.com/lping/


文章来源:http://www.cnblogs.com/lping/p/5477379.html

posted on 2016-05-10 12:30  木头平  阅读(4246)  评论(0编辑  收藏  举报

导航