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 ).