Reprinted from: http://hi.baidu.com/%CB%BF%D4%B5%CC%EC%CF%C2/blog/item/2284e2debafc541e495403ec.html
: R and tools required
: Http://laichao.googlecode.com/files/dex2jar-0.0.7-SNAPSHOT.zip
Windows JD-GUI: http://laichao.googlecode.com/files/jdgui.zip
Http://laichao.googlecode.com/files/jd-gui-0.3.2.linux.i686.tar.gz
Steps:
1. First find classes. dex in the Android installation package
Change the. APK file name to .zip, decompress it, and obtain the file, which is compiled by the java file and packaged by the dx tool. Now we use the two tools mentioned above to export the java source file in reverse direction.
2. Copy classes. dex to the directory where dex2jar. bat is located.
In command line mode, locate the directory where dex2jar. bat is located and run dex2jar. bat classes. dex to generate
3. Run the JD-GUI tool (it is green without installation)
Open the jar File above and you will see the source code
---------------------------------------------------------------------------------
---------------------------------------------------------------------------------
Reprinted from: http://blog.sina.com.cn/s/blog_5752764e0100kv34.html
Download the following packages at http://code.google.com/p/android-apktool/: apktool-1.0.0.tar.bz2and apktool-install-windows-2.20.r01-1.zip.
Steps:
1. decompress the two downloaded files. aapt.exe and apktool.bat.(copy A. jar file after extracting apktool-install-windows-2.20.r01-1.zipthe package)
2. Open the command window (Start> Run, Enter cmd, and press Enter .) Go to the apktool. bat folder.
Input:
Apktool d C: \ ***. apk C: \ *** folder
(Command line explanation: the output folder of the file to be decompiled by apktool d)
Note: files to be decompiled must be placed in the root directory of drive C,
3. Open the C: \ *** folder to get various resources of our school.
3. Repackage decompiled files into apk
It's easy to enter:
Apktood B c: *** folder (you compiled the folder)