I’m creating a piece of software that can deploy Android apps but the AndroidManifest that is located within the apk file is in a custom binary XML format. What I am trying to find out is if there is a tool that will allow me to add my own AndroidManifest.xml file into an apk (converting it to AXML when it is added), or is the format explained anywhere so I can create my own converter
I’m creating a piece of software that can deploy Android apps but the AndroidManifest
Share
Figured this out using the Android packaging tool (aapt.exe)
According to the docs:
This takes a plain xml manifest and packages it into binary XML and inserts it into the apk.
Unfortunately it requires that the resources and assets be present (if you refer to them within the manifest file itself). I also have to add any other data back into the apk file. Not ideal but it works at least