using Apktools to decompile the APK app
1. Get the apk classes.dex file:
get the apk file for the app you want, open the APK with the unzip software, and copy the Classes.dex file from the APK.
2.classes.dex converted to. jar
unzip the downloaded Dex2jar and copy the Classes.dex to the directory where Dex2jar.bat is located. Use cmd at the command line
positioning to the The directory where the Dex2jar.bat is located.
Run:
Dex2jar.bat Classes.dex
Generated:
Classes.dex.dex2jar.jar
3. View the contents of the. jar file
You can view the source code by dragging and dropping the. jar file into the Jd-gui software.
Note: If the original code is confused by encryption, the code you decompile is not complete,
Or just part of it, and it's not much of a reference.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Using Apktools to decompile the APK app