Gradle 修改 Maven 仓库地址
修改GradleMaven仓库地址为阿里云镜像
修改根和子目录下的build.gradle文件,追加阿里云仓库:
buildscript { repositories { maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' } maven { url "https://urbanairship.bintray.com/android" } jcenter() } dependencies { classpath 'com.android.tools.build:gradle:2.2.3' // 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/' } jcenter() } }
相关推荐
CaptainCTR 2020-07-09
CaesarHome 2020-11-09
chenkai00 2020-07-26
afa0 2020-06-23
StephenWong 2020-06-18
chenkai00 2020-06-13
Lucianoesu 2020-06-08
tysforwork 2020-06-05
貌似掉线 2020-05-30
tysforwork 2020-05-27
CaptainCTR 2020-05-07
CaptainCTR 2020-05-04
貌似掉线 2020-05-03
CaptainCTR 2020-04-29
貌似掉线 2020-04-29
CaptainCTR 2020-04-23