Decompile the dex file

If you want to decompile the dex file, you can do it through the following steps:

1. Use the decompression tool to decompress the dex file in the apk package;

 

2. Use the dex2jar tool to decompile the dex into a jar package;

The download address of the dex2jar tool: dex2jar download | SourceForge.net

 

 

3. Use the jd-gui tool to open the decompressed jar package;

jd-gui tool download address: https://github.com/java-decompiler/jd-gui/releases

 Through the above steps, the dex file can be decompiled. It is worth noting that if the java code of the project package is obfuscated, the decompiled code is difficult to read. During the internal testing of the project, you can use the unobfuscated encrypted package body to test your own problems.

 

Guess you like

Origin blog.csdn.net/x_xingduo_2315/article/details/128810106