Android studio下载慢解决,使用阿里云解决(转)
2024-08-26 12:33:51
转自:https://blog.csdn.net/kangweijian/article/details/79120849?%3E
使用开源中国的maven库
阿里云的(速度飞快):http://maven.aliyun.com/nexus/content/groups/public/
build.gradle
buildscript {
repositories {
// jcenter()
// jcenter(){ url 'http://jcenter.bintray.com/'}
maven{url 'http://maven.aliyun.com/nexus/content/groups/public/'}
maven { url "https://jitpack.io" }
google()
}
dependencies {
classpath 'com.android.tools.build:gradle:3.0.0'
}
}
allprojects {
repositories {
// jcenter()
maven{url 'http://maven.aliyun.com/nexus/content/groups/public/'}
google()
}
}
最新文章
- tyvj1193 括号序列
- could not build module 'XXXXXXXX'或者error: expected identifier or '(' 。一堆奇怪的错误————错误根源
- IOS导航栏的使用方法
- oracle 将查询到的数据插入表
- C#相关图书推荐
- 解决Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in
- java 内部类学习
- Linux 查看系统硬件信息(实例详解)
- 将DataTable转化为json对象
- Binarized Neural Networks_ Training Neural Networks with Weights and Activations Constrained to +1 or −1
- execlp函数使用
- ACdream	1728 SJY's First Task
- Woody的Python学习笔记1
- JQuery 操作数组 each、map、grep、filter
- homebrew 更改镜像,进行成功安装
- 莫烦theano学习自修第二天【激励函数】
- Servlet案例3:验证码功能
- luogu3195/bzoj1010 玩具装箱(斜率优化dp)
- 待选框、目标框select项目左右移动
- Spring boot 问题总结