Sync with Gradle for project ‘XXXX‘ failed: Connection timed out: connect
程序员文章站
2022-03-04 23:35:04
使用android studio同步项目,一直下载不了gradle-3.5.1.pom,每次都会解析阿里云的镜像后失败,跳转去了谷歌的dl.google.com结果因此会导致每次都会连接超时导致这个问题的原因是,https造成的,把https注释掉就会解决问题需要修改的文件路径:C:\Users\Administrator\.gradle\gradle.propertiessystemProp.http.proxyHost=127.0.0.1systemProp.http.prox....
使用android studio同步项目,一直下载不了gradle-3.5.1.pom,每次都会解析阿里云的镜像后失败,跳转去了谷歌的dl.google.com
结果因此会导致每次都会连接超时
导致这个问题的原因是,https造成的,把https注释掉就会解决问题
需要修改的文件路径:C:\Users\Administrator\.gradle\gradle.properties
systemProp.http.proxyHost=127.0.0.1
systemProp.http.proxyPort=1080
#systemProp.https.proxyHost=mirrors.opencas.ac.cn
#systemProp.https.proxyPort=80
本文地址:https://blog.csdn.net/zhou_438/article/details/108846713
上一篇: 迅雷影音看电影时怎样把粤语换成普通话?
下一篇: rmvb格式视频怎么转换成wav格式?
推荐阅读
-
Sync with Gradle for project ‘XXXX‘ failed: Connection timed out: connect
-
SMTP -> ERROR: Failed to connect to server: Connection timed out (110)
-
ERROR: transport error 202: connect failed: Connection timed out
-
Gradle 'xxx' project refresh failed Error:Connection timed out: connect
-
Failed to connect to github.com port 443: Operation timed out /SSL_ERROR_SYSCALL in connection
-
Nginx排错:Nginx日志报错connect() failed (110: Connection timed out) while connecting to upstream
-
Sync with Gradle for project ‘XXXX‘ failed: Connection timed out: connect