Android jcenter 仓库无法连接,Android Project 的 build.gradle 镜像地址

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

allprojects {
    repositories {
        maven { url 'https://maven.aliyun.com/repository/public' }
        maven { url 'https://maven.aliyun.com/repository/google' }
        maven { url 'https://jitpack.io' }
        google()
        jcenter()
    }
}

你可能感兴趣的:(Android jcenter 仓库无法连接,Android Project 的 build.gradle 镜像地址)