无法将 android 库添加到 JCenter

And*_*ysh 5 android bintray jcenter lib

我正在尝试使用 Bintray 将库发布到 JCenter,根据这篇文章:https ://medium.com/@anitaa_1990/6-easy-steps-to-upload-your-android-library-to-bintray-jcenter- 59e6030c8890

我成功地将库添加到Bintray,但是当我单击“添加到 JCenter ”按钮并发送撰写消息时 - 我收到一个错误

无法发送消息:包应包含源作为包的一部分。

请告诉我我做错了什么?

Roy*_*oyg 4

您的 Bintray Maven 包不包含sources、 仅.aar包含和.pom. 博客文章中的 未链接到 JCenter,请在此处查看博客的包

Bintray 的wiki声明您必须包含sources.

我会使用这篇博文这篇博文,其中的包实际上链接到 JCenter。