我正在尝试学习如何发布Android库。将Android库发布到jCenter
我已经按照从这个博客的说明:
http://florentchampigny.com/publish-a-library-to-jcenter
但是当我到了最后一步,然后按“添加到jCenter”按钮,我得到以下错误:
Please fix the following before submitting a jCenter inclusion request: - Add a POM file to the latest version of your package.
我看到文件中列出的名为“行业0.0.0-alpha0.pom覆盖= 1?”,但是当我点击它,我得到的消息:
请求的路径没找到。
如果有帮助:
我的仓库位于:https://bintray.com/labermt/Industry
我的源代码位于:https://github.com/labermt/IndustrySampler
我完全新本,所以它很容易被简单的东西。我还在寻找博客或文档来帮助我理解如何做到这一点。这个博客让我目前距离最近。
Thx。
我该怎么做?我在博客中唯一看到与此相关的地方是:bintray { ... override = true ... – Mitch
我在某处发现了一个错误,说如果你设置override = true,那么你会得到一个404错误。我将它设置为false并升级到classpath'com.jfrog.bintray.gradle:gradle-bintray-plugin:1.7.3'以查看会发生什么。 – Mitch
现在我只能得到404错误...即使我把所有东西都放回原来的位置......非常混乱。我要重新启动我的电脑。这可能是bintray错误的问题吗? – Mitch