1,Building gradle project info
C:\Users\LIANG.gradle\wrapper\dists\gradle-5.6.4-all\ankdp27end7byghfw1q2sw75f
再该路径下添加离线文件 idea在线下载太慢
下载地址:https://services.gradle.org/distributions/
或者试着重启
2,打开项目一直在下载fastutil-7.2.0.jar,修改build.gradle文件,添加国内镜像地址即可:
buildscript {
repositories {
maven{ url = "http://maven.aliyun.com/nexus/content/groups/public/" }
google()
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.6.0-rc01'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
maven{ url = "http://maven.aliyun.com/nexus/content/groups/public/" }
google()
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}