Android Anti-compilation

Source: Internet
Author: User

Android Anti-compilation tool a lot of the same software version of the difference is also different, according to personal taste, now in accordance with the version of my use to select the description.

1, install the Java environment, skip.

2,

Resource File Compilation:

Tool: Apktool 1.4.1

This version is much simpler and no more commands to be tapped at the command line.

: http://www.pc6.com/softview/SoftView_67410.html

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/42/70/wKiom1PXcN7wtV0XAALUTzeosgQ662.jpg "title=" Qq20140729175407.png "alt=" Wkiom1pxcn7wtv0xaalutzeosgq662.jpg "/>


Follow the prompts to change the name 123.apk and then choose 1.

3,

Code compilation:

Tool: Dex2jar

①, the apk file suffix to zip and unzip, get the Classes.dex, it is the Java file compiled and then packaged through the DX tool, Classes.dex copied to the Dex2jar.bat directory dex2jar-0.0.9.9 folder.

②, navigate to dex2jar.bat directory under command line, run Dex2jar.bat Classes.dex

Generate Classes_dex2jar.jar

③, there may be a situation where the compilation is unsuccessful, and then discard the compilation.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/42/70/wKiom1PXce7D46c9AAETubH3cqU268.jpg "title=" Qq20140729175854.png "alt=" Wkiom1pxce7d46c9aaetubh3cqu268.jpg "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/42/71/wKioL1PXc1XCx3ReAADXO9TYldU093.jpg "title=" 0140729180006.png "alt=" Wkiol1pxc1xcx3reaadxo9tyldu093.jpg "/>


4,

To view the anti-compilation code:

Tool: Jd-gui

Drag the jar you generated in the previous step into it.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/42/71/wKioL1PXc-PwTSrnAAL9h3RMdKU768.jpg "title=" Qq20140729180231.png "alt=" Wkiol1pxc-pwtsrnaal9h3rmdku768.jpg "/>


Other

Dex2jar and Jd-gui:http://www.cr173.com/soft/45356.html


(Because the code.google.com address is not good to open the above for other sites looking for.) )


This article is from the "Faith Connaught Group Technology Center" blog, please be sure to keep this source http://sinoteam.blog.51cto.com/9115640/1532436

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.