I've submitted two patches in order to add support for assets in
Android Libraries.
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.
https://review.source.android.com/#change,24161
2) Add support for library /assets resource directories (depends on
first patch)
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.
https://review.source.android.com/#change,24162
I've already added Xavier as reviewer, so posting here in case there
are others who might be interested in reviewing these patches.