赞
踩
错误内容:
Could not GET ‘https://dl.google.com/dl/android/maven2/com/android/tools/build/gradle/3.1.3/gradle-3.1.3.pom ‘. Received status code 400 from server: Bad Request
解决方案:
1. 修改文件 build.gradle
将
buildscript {
repositories {
google()
jcenter()
}
...
}
修改为:
buildscript {
repositories {
google()
jcenter()
maven {
url 'http://maven.aliyun.com/nexus/content/groups/public/'
}
}
...
}
将maven url配置为国内可访问的(如果已翻墙可以配置为https://maven.google.com)
2. 取消勾选 Disable embedded Maven repository
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。