Decompile the APK file using dex2jar and xjad to view the source code.

Source: Internet
Author: User

Required Software: http://download.csdn.net/detail/suixiang888/4788195 credit is not enough, please trust me

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:
In command line mode, locate the directory where dex2jar. bat is located and run dex2jar. Bat classes. Dex to generate classes. Dex. dex2jar. jar.

In ubuntu:

Locate the directory of dex2jar. Sh in the terminal and run
Sh dex2jar. Sh classes. Dex

You can generate classes. Dex. dex2jar. Jar


3. Run the xjad tool (it is green and does not need to be installed)
Open the JAR File above and you will see the source code


If the project uses a dynamic link library file written in C, it cannot be successful ..

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.