AndroidStudio解决:Error:Connection timed out: connect. If you are behind an HTTP proxy, please configu
2017-06-01 16:07
555 查看
androidStudio中导入工程报:Error:Connection timed out: connect. If you are behind an HTTP proxy, please configu,解决方法如下:
(2)查看正常项目中工程根目录中gradle文件夹-->>wrapper文件夹-->>gradle_wrapper.properties中:
注意从外部文件目录进入,打开后格式如下:
(2)修改工程根目录中gradle文件夹-->>wrapper文件夹-->>gradle_wrapper.properties文件
第一步:查看可以正常打开的安卓项目
(1)查看工程根目录build.gradle,如下图:(2)查看正常项目中工程根目录中gradle文件夹-->>wrapper文件夹-->>gradle_wrapper.properties中:
注意从外部文件目录进入,打开后格式如下:
#Mon Mar 20 10:35:38 CST 2017 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip
第二步:修改报错项目
(1)修改工程根目录build.gradle,与第一步中正常项目的一致。(2)修改工程根目录中gradle文件夹-->>wrapper文件夹-->>gradle_wrapper.properties文件
distributionUrl=https\://services.gradle.org/distributions/gradle-2.14.1-all.zip与正常项目一致即可
相关文章推荐
- 解决:Error:Connection timed out: connect. If you are behind an HTTP proxy, please
- 解决:Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy
- 解决:Error:Connection timed out: connect. If you are behind an HTTP proxy, please
- 解决:Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy
- 完美解决Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy
- 解决:Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy
- 使用AS遇到Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the pro
- Gradle升级,Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure
- 异常Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy
- Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy set
- Android 开发 Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure th
- Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy set
- Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy set
- AndroidStudio项目报错Error:Connection timed out: connect. If you are behind an HTTP proxy, please config
- Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy...
- Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy set
- Error:Connection timed out: connect. If you are behind an HTTP proxy, please....
- Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy set
- 编译报错Error:Connection timed out: connect. If you are behind an HTTP proxy, please
- Error:Connection timed out: connect. If you are behind an HTTP proxy ...