How to package an Android Library for Android Studio

女生的网名这么多〃 提交于 2019-12-08 05:46:10

问题


I'm maybe missing something but I do not get it. How and where can you publish your libs (done with Android Studio as a module) in order that the people just have to write (for example)

compile 'se.emilsjolander:stickylistheaders:2.5.2'

in their build.gradle?

I saw things like jCenter repositories but I've no experience with packaging and found it very confusing.

Thanks for help! :)

EDIT

Of course, I want to publish a github project under Apache :)


回答1:


https://jitpack.io/ is also a good choice if you just want to publish an android library on github.

There is a example



来源:https://stackoverflow.com/questions/29578889/how-to-package-an-android-library-for-android-studio

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!