The build option can be invoked either from b or build like shown below decodes bar.apk to baz folder Building The decode option on Apktool can be invoked either from d or decode like shown below.
In addition to XMLs, resources such as 9 patch images, layouts, strings and much more are correctly decoded to source form. Viewing AndroidManifest.xml again results in something much more human readable I: Loading resource table from file: 1.apk I: Decoding AndroidManifest.xml with resources. Obviously, editing or viewing a compiled file is next to impossible. If you tried to view AndroidManifest.xml. However, at this point you have simply inflated compiled sources. If you were to simply unzip an apk like so, you would be left with files such as x and resources.arsc.Įxtracting: res/drawable-hdpi/ic_launcher.png Apks are nothing more than a zip file containing resources and assembled java code.