Android studio下载依赖包很慢

【Android studio下载依赖包很慢】追风赶月莫停留,平芜尽处是春山。这篇文章主要讲述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
}
}























    推荐阅读