Create an Android Jar library for distribution

后端 未结 11 1368
眼角桃花
眼角桃花 2020-11-27 09:21

I know of Android Library projects, which allow you to create a shared-source project that can be pulled into Android Applications as needed. However, that requires that sou

11条回答
  •  佛祖请我去吃肉
    2020-11-27 09:42

    You can create a "regular" Java project and import from there Android.jar. Then, you will have access to every component in the SDK. Then, you can export your project as jar... and load it from your Android app. This works great and it seems a preety straightforward way to do it.

提交回复
热议问题