Preparations before decompilation:
1. The apk that needs to be decompiled
2. dex2jar-2.0 (this is to convert the code in the apk into a jar package)
3. jd-gui-windows-1.4.0 (this is to view the jar package The code inside)
start
first change the suffix of the apk installation package that needs to be decompiled to .zip, decompress it, and the decompressed file is as follows Then
copy the classes.dex file to the dex2jar-2.0 folder
and press win+R to enter cmd to enter the command line interface, navigate to the dex2jar-2.0 folder, and enter
d2j-dex2jar.bat classes.dex
Executing the file found that there is an additional classes-dex2jar.jar file in the folder, which contains the code in the apk, and then open this jar with the jd-gui-windows-1.4.0 tool to see the code