Very simple APK anti-compilation (MAC version detailed)

Source: Internet
Author: User

Before referring to the online great God introduced the APK for Mac anti-compilation article, which is written in very detailed and practical, but because the APK for Mac anti-compilation details are very cumbersome, the process is relatively complex, against this flaw in the process of its anti-compilation is optimized, Its principle is practical familiar with the SH command, now the specific operation of the steps presented:

1. Download apktools (structure after optimization): http://download.csdn.net/detail/dwbutterfly/9486140

2. Unzip the apktool-jdgui.zip to local, and look inside the structure as shown:



3. The first time, you need to install JD-GUI-0.2.7.OSX.I686.DMG after installation:



4. Copy the above Jd-gui to/users/your computer user name/applications directory,:



5. Go back to the Apktool-jdgui directory you unzipped and open apkparser.sh to start modifying some of the relevant information:,



6. Open apkparsergui.sh to modify the following information:


Note: All file paths about/user/sadshine/need to be modified to your own path


7. Rename the apk you want to decompile to test.apk into the Apks_parser file directory (Apks_parser directory refer to 1 steps)

Then open the Terminal command, drag the apkparser.sh into the command terminal, and then enter to execute as shown:



After executing the above command, open the Apks_parser directory, you will find out a test directory open the test directory to see the anti-compiled resource file as shown:



8. decompile The APK Java source code, drag the apkpasergui.sh into the command terminal after executing the Jd-gui tool and the Dex file directory, drag the Dex file into the Jdgui tool to view, as shown in:



The following generated source code can be viewed!




Very simple APK anti-compilation (MAC version detailed)

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.