Android Anti-compilation learning

Source: Internet
Author: User

I. Download the required tools

Http://pan.baidu.com/s/1eRxiXWI

Two. Put the anti-compilation apk into the Apktool directory

(1) Under CMD, move the directory to the APK directory. Run Apktool_2.0.2.jar D xxx.apk.

(2) After the completion of the operation, you will get the corresponding folder name, where the folder contains a variety of resource files

Tip: If you extract the folder directly from the APK, the resource file is garbled

Three. Get the source code

(1) Change the xxx.apk to Xxx.zip (RAR compression format), and then extract to see a class.dx file

(2) Copy the Class.dx file to the dex2jar-2.0 folder

(3) Move directory under CMD to dex2jar-2.0 folder execution, D2j-dex2jar.bat Classes.dex. You can get D2j-dex2jar.jar.

Four. Read the source code

Using Jd-gui.exe to open the D2j-dex2jar.jar, you can read the source code

Android Anti-compilation learning

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.