Error:Could not find com.github.dcendents:android-maven-plugin:1.3解决方式

今天把一个库上传到jcenter时,按照网上的教程一步一步操作,中间遇到了一些错误,都在网上找到了答案,但是在最后一步时,遇到了以下这个错误:

Error:Could not find com.github.dcendents:android-maven-plugin:1.3.
Searched in the following locations:
file:/F:/Android_Studio/gradle/m2repository/com/github/dcendents/android-maven-plugin/1.3/android-maven-plugin-1.3.pom
file:/F:/Android_Studio/gradle/m2repository/com/github/dcendents/android-maven-plugin/1.3/android-maven-plugin-1.3.jar
https://jcenter.bintray.com/com/github/dcendents/android-maven-plugin/1.3/android-maven-plugin-1.3.pom
https://jcenter.bintray.com/com/github/dcendents/android-maven-plugin/1.3/android-maven-plugin-1.3.jar
Required by:
:CheckUpdateLibrary:unspecified

网上竟然没搜到答案,并且遇到这个问题的人也很少,翻墙去问了了google也没找到很好的答案,但是在看其他问题的回答时,发现了一些端倪:

首先,按照网上的一般教程(反正国内的这种教程,都是你抄我的,我抄你的,内容都不带变化的),有一步是需要在项目级别的build.gradle文件中添加如下内容

 classpath 'com.jfrog.bintray.gradle:gradle-bintray-plugin:
评论 12
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值