如何打包一个Android库为Android工作室 [英] How to package an Android Library for Android Studio

查看:227
本文介绍了如何打包一个Android库为Android工作室的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可能失去了一些东西,但我不明白这一点。你如何以及在何处可以发布您的库,以便(与A​​ndroid做工作室作为一个模块)的人只需要编写(例如)

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'

在其的build.gradle

我看到的东西像jCenter库,但我已经与包装的经验,发现它非常混乱。

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

感谢您的帮助! :)

修改

当然,我要发布Apache下一个github上的项目:)

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

推荐答案

https://jitpack.io/ 是也是一个不错的选择,如果你只是想在GitHub上发布Android库。

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

有一个例如

这篇关于如何打包一个Android库为Android工作室的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆