The android project is an APK package. This section contains the compiled code and resource files.
For reverse engineering of the resource file, see Brief Analysis of Information in the APK file.
The compiled code requires two tools:
- Dex2jar, used to convert Dex files to jar files;
- JD-Gui: reverse engineer the JAR file into Java code.
The link to dex2jar is as follows:
Http://code.google.com/p/dex2jar/
Download and decompress the package. You can run the package directly in Windows or Linux. Command parameters are relatively simple:
./Dex2jar. Sh ~ /Desktop/xxxxxxxxxxx-APK/classes. Dex
Then ~ The/desktop/xxxxxxxxxxx-APK/directory generates a file named classes. Dex. dex2jar. jar.
JD-Gui can also be divided into windows, Mac, and Linux versions. Download here:
Http://java.decompiler.free.fr /? Q = jdgui
Decompress the downloaded file and double-click it to run it.
Then, drag the JAR file directly to the jd-GUI interface to generate the source code.
Then:
All Java source code zip packages can be generated.
Turn: http://marshal.easymorse.com/archives/3051