|Compiling assets from Android Libraries int Android Application||Ievgenii Nazaruk||6/26/11 3:43 PM|
I've submitted two patches in order to add support for assets in
1) Add support for multiple raw asset directories (-A option) to aapt.
In order to enable raw assets from libraries to be compiled into main
application, aapt tool has to support multiple -A arguments. This
patch adds such capability. Multiple -A are handled the same way as
multiple -S arguments. In other words, if specific asset file is found
in several -A folders, the one that appear first in command line wins.
2) Add support for library /assets resource directories (depends on
Add capability to build list of all /assets directories that are used
in libraries. And then this list is passed to aapt tool using multiple
-A options. This allows to compile /assets from all referenced
libraries into main application.
I've already added Xavier as reviewer, so posting here in case there
are others who might be interested in reviewing these patches.
|Re: Compiling assets from Android Libraries int Android Application||Xavier Ducrohet||6/28/11 7:16 PM|
Thanks for the patches. I'll look at them shortly, but it will
probably be next week (I'll do the other pending patches you have at
the same time).
Please do not send me questions directly. Thanks!
|Re: Compiling assets from Android Libraries int Android Application||Ed Burnette||1/31/12 11:34 AM|
Did this change get put in yet? I would like to put assets/* in Android library projects.
|Re: Compiling assets from Android Libraries int Android Application||Ievgenii Nazaruk||2/24/12 5:12 AM|
It looks like the patch for custom xml attributes (bug 9656) has been finally accepted and merged. And the patch mentioned above in this thread, the one that adds support for assets in libraries looks to be the last major lacking piece in functionality.
Could you please look into these asset related patches?
|Re: Compiling assets from Android Libraries int Android Application||jochen.v...@googlemail.com||2/1/13 4:59 AM|
I need this feature as well. Any chance that this is going into the official library/tools?
Am Mittwoch, 29. Juni 2011 04:16:22 UTC+2 schrieb Xavier Ducrohet: