Android Maven国内镜像

将代码复制到项目最外层的build.gradle中
复制位置1:buildscript-repositories
复制位置2:allprojects-repositories

maven { url 'https://maven.aliyun.com/repository/central' }
maven { url 'https://maven.aliyun.com/repository/jcenter' }
maven { url 'https://maven.aliyun.com/repository/google' }
maven { url 'https://maven.aliyun.com/repository/gradle-plugin' }
maven { url 'https://maven.aliyun.com/repository/public' }

你可能感兴趣的:(Android Maven国内镜像)