android studio apply script build.gradle 卡死

在build.gradle 文件加入下面代码即可

 buildscript {
    repositories {
        maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
        google()
    }
}

allprojects {
    repositories {
        maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
        google()
    }
}
    原文作者:7763sea
    原文地址: https://www.jianshu.com/p/b631b558709a
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞