Apktool
Function: Resource file gets, can extract picture file and layout file for use view
Dex2jar
Role: Decompile the apk into Java source code (Classes.dex into a jar file)
Jd-gui
Role: View the apk in the Classes.dex converted into a jar file, namely the source file
1, Apktool use, decompile resource file
1), unzip the Apktool file.
2), enter into the Apktool folder, enter the command: Apktool.bat d-f test.apk Test
Note: test.apk is the source apk file, test is the build resource folder.
Format: Apktool.bat d-f apk source File destination folder.
2, Dex2jar use, anti-compile Dex file into Java source file
1), change the test.apk file suffix name to. rar or. zip, and unzip to get the amount of Classes.dex file
2), unzip the Dex2jar file
3), enter into the extracted folder, enter Dex2jar.bat Classes.dex.
A Classes_dex2jar.jar file is generated under the directory.
3, Jd-gui Use, view source files
1), unzip the Jd-gui file
2), open the tool Jd-gui folder in the Jd-gui.exe,
Then use the tool to open the previously generated Classes_dex2jar.jar file, you can see the source code.
Android Anti-compilation