且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Android 库项目自定义构建

更新时间:2023-02-12 09:53:42

我最近为我的一个 android 产品编写了 ant 构建脚本,该脚本使用另一个 android 框架作为库.我使用的技巧是将库项目的src,resourceassets 复制到主项目中,然后使用ant android task 构建apk 包.这个技巧非常适合我.

I recently wrote ant build script for my one of android product that make use of another android framework as library. The trick I used was to copy src,resource and assets of library project into the main project and then use ant android task to build the apk package. The trick works perfectly for me.

如果您还需要帮助,请告诉我.

Let me know if you still need some help.