Use dex2jar and jd

Source: Internet
Author: User
Decompile the apk file using dex2jar and jd-gui to get its source code !! 1. decompile the dex file into a jar file. (Dex2jar) code. google. compdex2jardownloadslist download the dex2jar-0.0.9.8download.csdn.netdetailniejing65409242743936202, decompile the jar

Decompile the apk file using dex2jar and jd-gui to get its source code !! 1. decompile the dex file into a jar file. (Dex2jar) http://code.google.com/p/dex2jar/downloads/list download dex2jar-0.0.9.8 http://download.csdn.net/detail/niejing654092427/4393620 2, the jar back

Decompile the apk file using dex2jar and jd-gui to get its source code !!

1. decompile the dex file into a jar file. (Dex2jar)
Http://code.google.com/p/dex2jar/downloads/list

Download dex2jar-0.0.9.8

Http://download.csdn.net/detail/niejing654092427/4393620

2. decompile jar into a java tool. JD-GUI)
Download jd-gui

Http://download.csdn.net/detail/niejing654092427/4393617

1. First find classes. dex in the Android installation package

Change the APK file name to .zip, and decompress the classes file. dex file, which is compiled by a java file and then 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 windows:

Copy the above classes. dex file to the directory where dex2jar. bat is located under d: \ dex2jar-0.0.9.8.

Win + R enter the command to run cmd and enter the following information:

Press enter.


The classes_dex2jar.jar file is generated under this directory.


3. Run the JD-GUI tool (it is green without installation)

Open the jar File above and you will see the source code

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.