Anti-compilation Android APK package get source code (using tools: Dex2jar and Jd-gui)

Source: Internet
Author: User

1. Download the anti-compilation tool dex2jar and Jd-gui from http://download.csdn.net/detail/dingyuming1991/9618125 (you can also download Google search);

2. the APK package to be anti-compilation to the extension zip (apk package is actually a zip package), unzip the zip file;

3. In the extracted folder there will be a classes.dex file (binary file of the program), in the download dex2jar and Jd-gui found DEX2jar Program, in the cmd window Mouth run dex2jar classes.dex , my dex2jar and Jd-gui in d:/android data/dex2jar& Jd-gui "directory, my test package is in" D:/activity_test ", so dex2jar classes.dex on my machine is Dex2jard:/ activity_test/classes.dex, effects such as

4. After the above steps in My computer is in the D:/activity_test directory will be more than a classes.dex. Dex2jar file, and then use the

Jd-gui tool, execute Jd-gui.exe directly, then "File->open File ..." Find the classes.dex. Dex2jar file just now, and you'll see something like that.

And my original code comparison, basically all the same, just in the resource ID replaced by the real number, actually ID name replaced by the ID value, happy bar ...

Note: If you use the Dex2 Jar tool I provided above togenerate an empty file, it is recommended that Baidu download the latest version.

Copyright, reproduced Please specify the source http://blog.csdn.net/dream19861009/archive/2010/12/22/6090693.aspx

Anti-compilation Android APK package get source code (using tools: Dex2jar and Jd-gui)

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.