Error:Connection timed out: connect. If you are behind an HTTP proxy, please....
2016-12-23 17:43
621 查看
今天在新公司配置开发环境,用Studio。倒入项目之后报错
于是在网上搜索解决方案,找到很多都是这种方式-----------------------------------------
在gradle.properties文件的最下方加入这两句即可。
搜素文件,只找到gradle-wrapper.properties,修改后无效。。。
最后解决方法是在Studio的菜单File...Settings...System Settings....Http Proxy, 设置
然后找到 主工程目录下的 gradle.properties 文件,添加上面的两项 https。
关闭Studio重启即可正常Sync gradle。 可以顺利通过代理。
谨以此记录该问题。
于是在网上搜索解决方案,找到很多都是这种方式-----------------------------------------
在gradle.properties文件的最下方加入这两句即可。
systemProp.https.proxyHost=some.proxy.adress.com systemProp.https.proxyPort=3128
搜素文件,只找到gradle-wrapper.properties,修改后无效。。。
最后解决方法是在Studio的菜单File...Settings...System Settings....Http Proxy, 设置
然后找到 主工程目录下的 gradle.properties 文件,添加上面的两项 https。
关闭Studio重启即可正常Sync gradle。 可以顺利通过代理。
谨以此记录该问题。
相关文章推荐
- 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
- 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
- 解决: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, 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 set
- Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy set
- 使用AS遇到Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure the pro
- 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
- Connection timed out: connect. If you are behind an HTTP proxy, please configure the proxy settings
- Gradle升级,Error:Connection timed out: connect. If you are behind an HTTP proxy, please configure