Talking about Android anti-compilation tool Apktool,dex2jar,jd-gui

Source: Internet
Author: User

Oneself layout pattern or way is very fixed, see a cool interface, always want to see how layout, today small snail take everyone learn how to use these three tools.

Download the latest software on each software website

The use of each software is described in two separate sections

1. Use Apktool First

The apk that will be recompiled is placed in the directory where the downloaded Apktool.bat is located, such as:

Then cmd command line input apktool d-f xxx.apk TT NOTE: xxx.apk is to decompile the APK, TT is the place to put the APK anti-compile file, especially

reminders, do not initially build this directory, execute the previous command after the automatic generation. if the compilation succeeds, the following directory structure will be generated

Res is the resource file we want to view, pictures, layouts, etc...

2.dex2jar Tools

Change the apk suffix to zip, open the package, and you can see Classes.dex copy it to the directory where Dex2jar.bat is located, then enter Dex2jar.bat on the cmd command line Classes.dex

The classes-dex2jar.dex is generated as shown in:

The last tool is to open the jar and see the structure of the code inside.

where A,b,c and so on are confused code can only look at the code structure.

Note: Sometimes the code anti-compilation error, there are some apk confusion causes can not be normal anti-compilation, this has a connection to solve the problem, very good

Connection: http://blog.csdn.net/jiangwei0910410003/article/details/51671019

If the normal apk does not compile successfully it is necessary to see the download of the Apktool tool has a problem.

In fact, by changing the apk suffix to zip, you can also see the resource files, not necessarily apktool,apktool should be to compile the file as an apk it.

Know can be sprayed below, just a little personal opinion!

Talking about Android anti-compilation tool Apktool,dex2jar,jd-gui

Related Article

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.