Last week, the project did not matter, this project will open on Monday reported Read timeOut
Caused by: org.gradle.internal.exceptions.LocationAwareException: A problem occurred configuring root project 'xxx'
Solution:
First, open your build.gradle
then repositories of these two folders modified to the following content:
repositories {
// maven库
def cn = "http://maven.aliyun.com/nexus/content/groups/public/"
def abroad = "http://central.maven.org/maven2/"
// 先从url中下载jar若没有找到,则在artifactUrls中寻找
maven {
url cn
artifactUrls abroad
}
maven { url "http://maven.aliyun.com/nexus/content/repositories/jcenter"}
google()
}
Completion of the above operations can be successfully compiled a
pro-active measure, hope it useful to you