APK Anti-compilation tool

Source: Internet
Author: User

Anti-compilation Tool:

Apktool: Resource file gets, can extract picture file and layout file for use view

Dex2jar: Decompile The APK to Java source (Classes.dex into a jar file)

Jd-gui: View apk in Classes.dex converted into a jar file, namely the source file

Steps to use:

1, apk anti-compilation to get the program's source code, pictures, XML configuration, language resources

In cmd, navigate to the folder where Apktool is located, enter the command apktool.bat d-f xx.apk (apk name) XX (generate file storage location).

Apktool.bat b xx, you can re-package the anti-compiled build file xx into an apk file

2, Dex2jar the Java source code to decompile

Change the apk file suffix name to. rar or. zip, unzip the file, get Classes.dex, store it in the Dex2jar directory, locate the Dex2jar folder in cmd, and enter the command Dex2jar.bat Classes.dex

3. View Java source code

Open the Dex2jar generated jar file directly using Jd-gui.exe

APK Anti-compilation tool

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.