Android studio Connection timed out: connect
在这之前,想着配置国内镜像,结果镜像不可用,就出现了这个问题,改回no proxy,也没用
org.gradle.api.ProjectConfigurationException: A problem occurred configuring root project 'WanNengAdapter'
Caused by: org.gradle.api.internal.artifacts.ivyservice.DefaultLenientConfiguration$ArtifactResolveException: Could not resolve all files for configuration ':classpath'
Caused by: org.gradle.internal.resolve.ModuleVersionResolveException: Could not resolve com.android.tools.build:gradle:4.4
Caused by: org.gradle.api.resources.ResourceException: Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle/4.4/gradle-4.4.pom'
Caused by: org.gradle.internal.resource.transport.http.HttpRequestException: Could not GET 'https://jcenter.bintray.com/com/android/tools/build/gradle/4.4/gradle-4.4.pom'
Caused by: org.apache.http.conn.HttpHostConnectException: Connect to mirrors.dormforce.net:80 [mirrors.dormforce.net/202.115.22.208] failed: Connection timed out: connect
解决:
gradle.properties中改回来就行
上一篇: 我想当隔壁老王
下一篇: “二”老婆的猴子偷桃
推荐阅读
-
Android studio Connection timed out: connect
-
Sync with Gradle for project ‘XXXX‘ failed: Connection timed out: connect
-
android studio AIDL的使用(四)in,inout,out
-
【git错误】Error: Failed to connect to github.com port 443 after 21074 ms: Timed out
-
SMTP -> ERROR: Failed to connect to server: Connection timed out (110)
-
ERROR: transport error 202: connect failed: Connection timed out
-
Timed out after 30000 ms while waiting to connect
-
解决git push时出现Failed to connect to github.com port 443: 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