How to pass arguments to aapt when building android apk?
I'm building an apk using ant on Linux (not using Eclipse), and I'm trying to find an easy way to switch between compressing assets and not, in order to keep my huge database uncompressed for < 2.3. As per this article: http://ponystyle.com/blog/2010/03/26/dealing-with-asset-compression-in-android-apps/ I see that it's possible to do this by specifying something like aapt -0 db , but I can't find information on how to edit the way ant interacts with aapt. Or do I have to run aapt by itself? What do I do? It's Android's build.xml (you'll find this under your SDK, tools and ant) that executes