Android Studio 卡在download fastutil下载慢
2024-10-20 13:29:30
需要替换国内镜像,现在阿里云地址已经更新了。需要使用新的地址。可以参考
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
}
最新文章
- java.nio.ByteBuffer中flip,rewind,clear方法的区别
- Java总结篇系列:类型转换/造型
- 使用grunt构建seajs项目
- 【转载】S2SH
- 为什么Redis内存不宜过大
- [转载]C#字符串加密和解密
- codeforce --- 340D
- UNIX环境高级编程第二版代码笔记
- stagefright框架(三)-选择Video Decode
- JavaScript 部分对象方法记叙 ing...
- JMS连接WMQ及收发消息
- HTTP Error 500.19 - Internal Server Error
- 十分钟了解HTTPS
- 一般程序中的session
- nodejs中的垃圾回收机制
- 【Python】socket编程-1
- MBP 使用笔记
- position:absolute元素 怎样居中
- Google Spanner vs Amazon Aurora: Who’ll Get the Enterprise?
- c++中string (MFC)
热门文章
- HBase原理深入
- 四元数Quaternion的基本运算
- 第一个HTML
- MySQL8.0报错:Access denied; you need (at least one of) the SYSTEM_USER privilege(s) for this operation
- 升级openssl和openssh脚本
- Elasticsearch集群黄色原因的终极探秘
- Elastic: 创建一个 Elastic 邮件警报 - 7.7 发行版
- POJ3280 Cheapest Palindrome (区间DP)
- MyBatis(入参的类型和日志记录)
- 细聊.Net Core中IServiceScope的工作方式