Anti-compilation Tool:
Apktool: Resource file gets, can extract picture file and layout file for use view
Dex2jar: Decompile The APK to Java source (Classes.dex into a jar file)
Jd-gui: View apk in Classes.dex converted into a jar file, namely the source file
Steps to use:
1, apk anti-compilation to get the program's source code, pictures, XML configuration, language resources
In cmd, navigate to the folder where Apktool is located, enter the command apktool.bat d-f xx.apk (apk name) XX (generate file storage location).
Apktool.bat b xx, you can re-package the anti-compiled build file xx into an apk file
2, Dex2jar the Java source code to decompile
Change the apk file suffix name to. rar or. zip, unzip the file, get Classes.dex, store it in the Dex2jar directory, locate the Dex2jar folder in cmd, and enter the command Dex2jar.bat Classes.dex
3. View Java source code
Open the Dex2jar generated jar file directly using Jd-gui.exe
APK Anti-compilation tool