问题

Android Studio一直 Download fastutil-x.x.x.jar, 应该是被墙了。

解决方法

在项目目录下面的 build.gradle 里面添加 aliyun

buildscript {
    repositories {
        maven {
            url 'https://maven.aliyun.com/repository/google';
        }
        maven {
            url 'https://maven.aliyun.com/repository/public';
        }
        maven {
            url 'https://maven.aliyun.com/repository/jcenter';
        }
        google()
        mavenCentral()
    }
    dependencies {
        ...
    }
}

参考:

Android Studio一直Download fastutil-x.x.x.jar
https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/118637583?spm=1001.2101.3001.6661.1&utm_medium=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1.pc_relevant_default&depth_1-utm_source=distribute.pc_relevant_t0.none-task-blog-2%7Edefault%7ECTRLIST%7ERate-1.pc_relevant_default&utm_relevant_index=1
Download fastutil-8.4.0-sources jar一直加载问题
https://blog.csdn.net/qq_48092631/article/details/119818131

标签: android_studio

添加新评论