Unzip and view androidmanifest.xml
- Androidmanifest.xml is displayed as garbled code.
- Use this command after downloading axmlPrinter2.jar
- Java -jar axmlprinter2.jar androidmanifest.xml
- Of course, when using the command redirection looks even more beautiful ~
- java -jar AXMLPrinter2.jar AndroidManifest.xml > manifest.txt
- Of course, you need to download axmlPrinter2.jar before using this command.
Decompress the Java source file using dex2jar and JD-gui, rename hjjc.apk to hjJC. zip, and then decompress the file using decompression software to obtain a HJJC directory, because the previous decompression of the resource file has generated a HJJC directory, The HJJC directory for decompressing hjjc.zip already exists, so the system automatically adds a bar 0 to the end of the directory name. We need to get the classes.dex file inside, as shown here:
In the command, go to the dex2jar directory and run the following command: dex2jar-0.0.9.15: run the sh dex2jar.sh classes.dex command. As shown in figure:
Dex2jar-2.0: run sudo chmod +x d2j_invoke.sh and then run sh dex2jar.sh classes.dex.
After the command is executed successfully, a classes_dex2jar.jar file is generated in the dex2jar directory. As shown in figure:
Finally, open the JAR package with the JD-GUI tool to see the Java source code.
www.jianshu.com/p/dda9ff90a…
Blog.csdn.net/zhao_liwei/…