问题
How can I use aapt from Java to compile the file androidManifest.xml
to axml?
回答1:
I couldn´t do it.. but the best solution is apktool.jar with processbuilder java method to execute commands from this jar, like windows command prompt to compile and decompile your apk. Sadly the apktool consumes a lot of RAM, you need a good server
来源:https://stackoverflow.com/questions/49599747/compile-androidmanifest-xml-from-java-aapt