Android apk decompilation method, androidapk

Source: Internet
Author: User

Android apk decompilation method, androidapk

We can't cut it down. Let's go to the theme directly.

SetApktool-install-windows-r05-ibotThe two files in the file are cutApktool1.5.1Directory.

Create a new folder and put the apk application to be cracked.

In this folder, open cmd and enter apktool to display the following information.

Apktool d Application Path decompression path

The decompiled code is as follows.

Res is an image file that can be modified. The program code is modified in the smali file. Next we need to extract the classes. dex file and directly extract the source code with 360 compression.

Next open the dex2jar-0.0.9.12-a and find dex2jar. bat. Drag calsses. dex to dex2jar. bat to unpackage

Wait for a moment to see the classes_dex2jar.jar file, which is the source code. Next, open classes_dex2jar.jar with the jd-gui-0.3.5.windows to see the source code.

Click the file menu to save all the source code. Unzip it and you will be able to see the real source code..

 

Summary.

Smali and Baksmali refer to the assembler and anti-assembler of. dex files used by Java virtual machines (Dalvik) in Android systems. Its syntax is a wide Jasmin/dedexer syntax, and it implements all functions (annotations, debugging information, line information, etc.) in the. dex format ).

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.