關於 android studio 3.2打開後一直下載中,最後還失敗了 的解決方法
阿新 • • 發佈:2019-01-07
https repos HERE 解決 depend script maven col end
只需要將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,非常感謝了
關於 android studio 3.2打開後一直下載中,最後還失敗了 的解決方法