bug: Could not get resource 'https://jcenter.bintray.com/com/
16lz
2021-01-23
android studio 编译时碰上了
> Could not get resource 'https://jcenter.bintray.com/com/android/tools/build/gradle/1.3.1/gradle-1.3.1.pom'. > Could not HEAD 'https://jcenter.bintray.com/com/android/tools/build/gradle/1.3.1/gradle-1.3.1.pom'.
这样子的bug。
解决办法
修改项目根目录下的build.gradle
buildscript {... repositories { jcenter() maven { url 'https://jitpack.io' } jcenter{ url "http://jcenter.bintray.com/"} }}
改为
buildscript { repositories { maven { url 'http://maven.aliyun.com/nexus/content/groups/public/' } jcenter { url 'http://maven.aliyun.com/nexus/content/repositories/jcenter' } }}
更多相关文章
- Google code android开源项目(二)
- android项目中的功能清单文件
- android 开源项目介绍
- Android输入框格式化Edittexthelp(有项目可下载)
- android 命令获取手机中项目数据库
- android项目,从服务器端返回JSON数据,在android客户端进行显示。
- android: 大量开源项目源代码分享
- 飞速浏览器3.0.0 webview 练手项目.
- Android 140款Android开源优秀项目源码