我正在嘗試學習如何發佈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