关于 android studio 3.2打开后一直下载中,最后还失败了 的解决方法

只需要将build.gradle改成以下就好,下载速度 sui sui sui的

buildscript { repositories { maven{ url ‘http://maven.aliyun.com/nexus/content/groups/public/‘ } mavenCentral(); google() jcenter() } dependencies { classpath ‘com.android.tools.build:gradle:3.2.0‘ // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files }}allprojects { repositories { maven{ url ‘http://maven.aliyun.com/nexus/content/groups/public/‘ } google() jcenter() }}task clean(type: Delete) { delete rootProject.buildDir}

参考于https://blog.csdn.net/jiang25810/article/details/83503829,非常感谢了

相关文章