Android studio下载依赖包很慢

build gradle文件

buildscript {
repositories {
//jcenter()
maven { url 'http://maven.oschina.net/content/groups/public/' }
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.2' // NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}

或者

buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.2.2'
classpath 'com.github.dcendents:android-maven-gradle-plugin:1.5'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
上一篇:VMware Linux虚拟机连接不上网络


下一篇:vscode在linux下执行debug无法导入错误解决