APK Anti-compilation tool:http://download.csdn.net/detail/pihaishen/8488935
Android anti-compile Java code
The first thing to download is two tools: Dex2jar and Jd-gui convert the Classes.dex in the apk into a jar file, and Jd-gui is an anti-compilation tool that can view the source code of the jar package directly.
First, the apk file, the suffix to zip, unzip, get the Classes.dex, it is the Java file compiled and then packaged with the DX tool;
Unzip the downloaded Dex2jar and copy the Classes.dex to the directory where Dex2jar.bat is located
Run Dex2jar.bat Classes.dex
Generate Classes.dex.dex2jar.jar
Run Jd-gui (jd-gui.exe), open the jar package generated above, you can see the source code
Android anti-compile layout file
Prepare the tool Aapt.exe Apktool.bat Apktool.jar and put it under the same level directory
Under command line, navigate to the Apktool.bat folder, and enter the following command: Apktool d xxx.apk c:\* folder
Command line explanation: Apktool d [apk file] [output folder]
Special Note: The files you want to decompile must be placed in the root directory of the C drive.
Re-packaging the anti-compiled files into an apk, very simple, enter Apktool B c:\*** folder (you compiled the folder) can
After packaging the apk file under directory C:\HelloAndroid, two folders were generated:
Build Dist
wherein, the package generated helloandroid.apk, in the above Dist folder, Ok
Anti-compilation tools and steps