1. Rename the apk file to. zip, then unzip the Class.dex file, which is the Java file compiled and then packaged by the DX tool.
2, copy the Class.dex to the Dex2jar.bat directory, drag class.dex directly to Dex2jar.bat, generate Classes.dex.dex2jar.jar.
Or: 1. Enter the path of Dex2jar.bat under CMD and enter "Dex2jar.bat xxx", xxx refers to the path and name of the Classes.dex file in the apk you want to decompile, for example: my Dex2jar.bat in D:\ Android\apk_decode\dex2jar-0.0.7-snapshot path, Classes.dex under D:\Android, so: After you enter the Dex2jar.bat path, enter Dex2jar.bat d:\ Android\classes.dex, this will generate a jar file.
3. Extract the class file from the jar file with RAR, then decompile the. class file into a. java file using the Jad or DJ Java Decompiler anti-compilation tool
4, run the Jd-gui tool, open the above JAR file, under file has a save JAR source, it can generate SRC source code.
Android Anti-compilation