我正在开发android库项目。我不想共享我的源代码。我想创建jar文件之类的东西。但是我无法创建jar文件,因为它包含xml布局。源代码?
I can give you an example of such library. Open Android SDK manager and download Google play services library.
This library contains 'libs' folder with google-play-services.jar which contains all the source code . Also there is 'res' folder and android manifest file to be able to add this library to every android project.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.