Android Anti-compilation

Source: Internet
Author: User
1. Rename the apk file to. zip, then unzip the Class.dex file, which is the Java file compiled and then packaged by the DX tool.


2, copy the Class.dex to the Dex2jar.bat directory, drag class.dex directly to Dex2jar.bat, generate Classes.dex.dex2jar.jar.

Or: 1. Enter the path of Dex2jar.bat under CMD and enter "Dex2jar.bat xxx", xxx refers to the path and name of the Classes.dex file in the apk you want to decompile, for example: my Dex2jar.bat in D:\ Android\apk_decode\dex2jar-0.0.7-snapshot path, Classes.dex under D:\Android, so: After you enter the Dex2jar.bat path, enter Dex2jar.bat d:\ Android\classes.dex, this will generate a jar file.
3. Extract the class file from the jar file with RAR, then decompile the. class file into a. java file using the Jad or DJ Java Decompiler anti-compilation tool
4, run the Jd-gui tool, open the above JAR file, under file has a save JAR source, it can generate SRC source code.

Android Anti-compilation

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.