Android studio Connection timed out: connect

Posted dyntang

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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的主要内容,如果未能解决你的问题,请参考以下文章

Android Studio Connection refused

空对象引用上的 Android Studio jTDS java.lang.NullPointerException java.sql.Statement java.sql.Connection.cr

Android Studio错误:Connect to 127.0.0.1:1080 [/127.0.0.1] failed: Connection refused: connect

错误记录Android Studio 编译报错 ( Error:Connection timed out: connect | 更新配置依赖仓库方式 )

错误记录Android Studio 编译报错 ( Error:Connection timed out: connect | 更新配置依赖仓库方式 )

错误:“I/Process (26960): Sending signal.PID: 26960 SIG: 9 Lost connection to device.”在 android studio