Error:Unable to tunnel through proxy. Proxyreturns "HTTP/1.1 400 Bad Request"
来源:互联网 发布:淘宝类目官方群 编辑:程序博客网 时间:2024/05/21 10:00
以前一直以为这个问题是这样子解决的,但是用了一轮,突然发现,不管用了。。。
后来又找了个方法:
gradle-wrapper.properties:
#Mon Dec 28 10:00:20 PST 2015distributionBase=GRADLE_USER_HOMEdistributionPath=wrapper/distszipStoreBase=GRADLE_USER_HOMEzipStorePath=wrapper/distsdistributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
把distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip改成你本机所有的,这种问题就是gradle的版本不一致,不知道是什么自己的版本的话,你自己随便生成的项目找到这个文件就可以看到了。
但还是不行的话,打开build.gradle 更改dependencies:
dependencies { classpath 'com.android.tools.build:gradle:1.2.3' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files}低版本的会出现问题,更换成你现在的版本,最简单你自己新建一个项目,查看这个位置是多少版本。我的是 classpath 'com.android.tools.build:gradle:2.2.1'
同步,就OK了。
出现了一下的问题:
Error:Failed to find Build Tools revision 23.0.0 rc2
<a href="install.build.tools">Install Build Tools 23.0.0 rc2 and sync project</a>
解决方法是:
由于是导入别人的项目,中途卡住了,有些地方看不到,直接全项目搜索ctrl+H,搜索23.0.0 rc2,通常就是编译版本问题
buildToolsVersion "23.0.0 rc2"
改成你想要的就ok。 0 0
- Error:Unable to tunnel through proxy. Proxyreturns "HTTP/1.1 400 Bad Request"
- Error:Unable to tunnel through proxy. Proxyreturns "HTTP/1.1 400 Bad Request"
- Error:Unable to tunnel through proxy. Proxyreturns "HTTP/1.1 400 Bad Request"
- Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"
- Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request"
- AndroidStudio问题Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Request解决方法
- 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"的解决办法
- 在导入新项目之后出现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"的解决办法
- Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Reques
- Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Reques
- android studio提示Error:Unable to tunnel through proxy. Proxy returns "HTTP/1.1 400 Bad Reques
- Android开发:解决ErrorUnable to tunnel through proxy. Proxy returns HTTP1.1 400 Bad Request
- Gradle project xxx refresh failed Error:Unable to tunnel through proxy. Proxy returns "HTTP/...
- Android studio出现Error:Unable to tunnel through proxy. Proxy returns ...
- AndroidStudio离线gradle与出现Error:Unable to tunnel through proxy"解决方法
- Android studio出现Error:Unable to tunnel through
- cortex-m3 各种引发fault的统计
- soot基础 -- 常用参数配置
- Java调用XML的方法:DocumentBuilderFactory
- 内存泄漏和内存溢出区别
- 如何引用本地aar文件
- Error:Unable to tunnel through proxy. Proxyreturns "HTTP/1.1 400 Bad Request"
- Qt---打印系统时间,毫秒级
- 如何让帝国CMS如何自动生成sitemap.xml网站地图文件
- laravel smtp 设置
- python笔记4 (练习数据结构笔记)
- 深入理解python 命令行解析模块optparse(optparse源代码解读)
- 学习JAVA所需要看的书籍
- 多个raq导出一个excel2007中
- ARP 地址解析协议