Anti-compilation app method

Source: Internet
Author: User

If you don't have the code, you can decompile the app.

There will be 2 tools, Dex2jar and Jd-gui, respectively. Here you can download the latest version as well as the sample apk.

We take the contactmanager.apk in the toolkit as an example and briefly describe the process of anti-compilation.

  • 1, rename contactmanager.apk to Contactmanager.zip and unzip to get file Classes.dex;
  • 2, unzip the Dex2jar-0.0.9.15.zip and enter the folder from the command line;
  • 3, Run command
D2j-dex2jar.bat Path_to\classes.dex

Get Classes-dex2jar.jar under the current folder;

  • 4, decompression jd-gui-0.3.6.windows.zip get file Jd-gui.exe;
  • 5, open Classes-dex2jar.jar with Jd-gui.exe;

Well, well, you can enjoy it.

The contactmanager shown here is the main activity of the app under test.

Anti-compilation app method

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.