This period of time to learn about Android application development, since it is a Java development should be very good decompile to get the source code it, Google a bit, indeed very simple, the following is my practice process.
In this solemn statement, the purpose of sticking out is not to crack the other people's software, is completely a learning attitude, but it seems that through this way can also go to Chinese some foreign software.
This article Android anti-compile tutorial, test environment:
Win7 Ultimate x64
Ubuntu 12.04 x86_x64
Decompile Kit Download (2012-10-10 update):
http://download.csdn.net/detail/sunboy_2050/4633436
First, apk back to the Java source code
Download the above Decompile Toolkit, open the dex2jar-0.0.9.9 folder under the Apk2java directory, containing apk decompile into Java source tools, and source view tools.
APK Dex2jar, which converts classes.dex in apk into a jar file
Source View tool Jdgui, is a decompile tool, you can directly view the back-compiled jar package source code
Dex2jar and Jdgui Download the latest version, see Google Code:
Dex2jar (Google code): http://code.google.com/p/dex2jar/downloads/list
Jdgui (Google code): http://code.google.com/p/innlab/downloads/list
Please see the latest version of the official: Http://java.decompiler.free.fr/?q=jdgui
Specific steps:
First, change the apk file suffix to zip and extract, get the Classes.dex, it is the Java file compiled again through the DX tools packaged, will classes.dex copied to Dex2jar.bat directory dex2jar-0.0.9.9 folder.
Locate the Dex2jar.bat directory under the command line and run
Dex2jar.bat Classes.dex
Generated
Classes_dex2jar.jar
Then, into the Jdgui folder double-click Jd-gui.exe, open the jar package generated above Classes_dex2jar.jar, you can see the source code, the following figure:
Helloandroid source code before and after the counter compile the comparison is as follows: