Anti-compilation and its tools under Android mac

Source: Internet
Author: User

Need tool: Apktool get layout information Dex2jar dex to jar Jd-gui jar View tool download
The Apktool is the layout and resource files that are compiled. Dex2jar compiled code bytecode, using the JD GUI to view the source code.
1) Download Apktool, and JD under Mac-gui, unzip as follows:
2) use Apktool D xxx.apk to decompile and get a folder with the same name. There is the layout file we need.


Dex2jar decompile 1) Change the apk file suffix name directly to. zip and unzip. Get the Classes.dex file, which is the Java source code is compiled and then packaged with the DX tool. 2) Copy the Classes.dex file to the same folder as the Dex2jar. 3) Navigate to the Dex2jar directory under command line, run SH dex2jar.sh classes.dex generate Classes_dex2jar.jar
You can see the source code by opening it with the JD GUI.

Anti-compilation and its tools under Android mac

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.