Android Studio: How to link my .aar library to multiple projects?

大憨熊 提交于 2019-12-04 15:18:45

Upload your android library as an artifact to maven central or jcenter. Checkout this guide that i totally find worth mentioning here to understand how to upload your android library to one of these central repository or both.

Once uploaded and synced , you can simply reference your library using

dependencies {
     compile 'com.your.groupid:artifactid:x.x.x'
}

and thats it.

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