View Android APK Source Code cracking and Android apk source code
Tool preparation:
<1>. AXMLPrinter2 tool of android4me
<2> dex2jar
<3> jd-gui
Tool download: http://download.csdn.net/detail/catshitone/8491347
Start: Step 1:
First, decompress the apk package with the decompression software (such as good pressure. The unzipped xml file is garbled when it is opened. How can this problem be solved?
Step 2:
Open cmd.exe to enter the decompressed folder. Input:
Java-jar AXMLPrinter2.jar showtimes_list.xml> h. xml
Showtimes_list.xml is the garbled xml file to be viewed, and h. xml is a non-garbled file after conversion. The name can be customized.
Step 3:
Decompress the package and obtain a classes. dex file. We need to change the dex file to a jar file. Another tool dex2jar is used here. Run cmd to enter the dex2jar file directory and copy the classes. dex file. Enter the following command:
Dex2jar. bat classes. dex
After running, there will be one more classes. dex. dex2jar. jar file in the current folder. This file is the jar file we need.
Step 4:
Use jd-gui to reverse engineer the jar file into java code. Open jd-gui and drag the generated jar file to view the source code. However, this source code is not exactly the same as the original real source code.
Www.sltianxia.com