First,apk anti-compilation to get The program's source code, pictures, XML configuration, language resources and other files
download Apktool in the tool above, extract 3 files: aapt.exe,apktool.bat,apktool.jar, Place the apk file that needs to be deserialized in the directory,
Open Command Line interface (run-cmd) , navigate to the Apktool folder, and enter the following command:apktool.bat d-f test.apk test
(test.apk in the command refers to the full name of the APK file to be deserialized, and test is the directory name that is stored in the post-compilation resource file, i.e. : Apktool.bat d-f [apk file] [output folder])
instructions to obtain success, then found under the folder more than a test file, click to view all of the app's resource files.
If you want to : Enter apktool.bat b test (you compile the folder), the effect is as follows:
After that, You can find 2 more folders under the previous test file:
Build
Dist (contains the packaged apk file)
Second,APK anti-compilation to get Java source code
Download the Dex2jar and Jd-gui in the tools above , unzip
To decompile the APK suffix name to. rar or. zip, and unzip, get the amount of the classes.dex file ( It is the Java file compiled and then packaged by the DX tool ), will get to the Classes.dex put it in the dex2jar-0.0.9.15 folder of the tool that was extracted before,
at the command line, navigate to the Span style= "COLOR: #6600cc" >dex2jar.bat In the directory, enter dex2jar.bat classes.dex , The effect is as follows:
the directory will generate a classes_dex2jar.jar file, then open the tool Jd-gui folder Jd-gui.exe, and then use the tool to open the previously generated Classes_ Dex2jar.jar file, you can see the source code, the effect is as follows:
(The name of the class file and the name of the method inside will be a,b,c ...). Style name):
Three, graphical anti-compilation apk (I have not used)
Step one or two above describes the command-line anti-compilation apk, which now provides a graphical anti-compilation tool: Androidfby
First, download the Anti-compilation toolkit above, open the Androidfby directory, double-click the Android Anti-compilation tool,. exe, you can browse to open the apk you want to decompile
Android APK Anti-compilation