Github找的项目,通过地址克隆,或者下载到本地都出现这个问题,
在这之前没有这个问题
学校断了一次网后,或者我尝试配置AS的国内镜像(未成功)后,
就出现了这个问题,
Connection timed out: connect
具体:
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
我选择了no proxy 还是会这样
大佬们帮帮忙啊!!
在gradle.properties改回来就行了
我选择了no proxy 还是会这样
– №DynTang 6年前