Android studio Connection timed out: connect

2018-07-11 03:31:18来源:博客园 阅读 ()

新老客户大回馈,云服务器低至5折

在这之前,想着配置国内镜像,结果镜像不可用,就出现了这个问题,改回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中改回来就行

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:谈谈面向对象

下一篇:怎么修改TOMCAT的默认主页为你自己项目的主页