Android Studio 卡在download fastutil-7.2.0.jar

修改 build.gradle文件

// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
maven { url 'https://maven.aliyun.com/repository/google' }
maven{ url 'https://maven.aliyun.com/repository/jcenter'}
}
dependencies {
classpath "com.android.tools.build:gradle:4.0.1"
}
}

allprojects {
repositories {
maven { url 'https://maven.aliyun.com/repository/google' }
maven{ url 'https://maven.aliyun.com/repository/jcenter'}
}
}

task clean(type: Delete) {
delete rootProject.buildDir
}

猜你喜欢

转载自blog.51cto.com/11020803/2631727