Android Studio 卡在download fastutil下载慢

2023-02-14,,,,

需要替换国内镜像,现在阿里云地址已经更新了。需要使用新的地址。可以参考

https://developer.aliyun.com/mvn/guide

以下是更改buil.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/public/'
}
mavenLocal()
mavenCentral()
google()
mavenCentral()
// 配置HMS Core SDK的Maven仓地址。
maven {url'https://developer.huawei.com/repo/'}
maven { url "https://jitpack.io" }
}
dependencies {
classpath 'com.android.tools.build:gradle:7.2.1'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
// 增加agcp插件配置,推荐您使用最新版本的agcp插件。
classpath 'com.huawei.agconnect:agcp:1.6.0.300'
}
} task clean(type: Delete) {
delete rootProject.buildDir
}

Android Studio 卡在download fastutil下载慢的相关教程结束。

《Android Studio 卡在download fastutil下载慢.doc》

下载本文的Word格式文档,以方便收藏与打印。