AS初始化报错解决

1,解决依赖镜像问题

buildscript {
   repositories {
       mavenCentral()
       google()
//        jcenter()
       maven{ url'http://maven.aliyun.com/nexus/content/groups/public/' }
       maven{ url'http://maven.aliyun.com/nexus/content/repositories/jcenter'}
   }
   dependencies {
       classpath 'com.android.tools.build:gradle:3.0.1'
   }
}

你可能感兴趣的:(AS初始化报错解决)