In daily development, we may need to decompile apps to inspect or analyze certain issues. For example:
Note: The following code can be run on both Mac and Windows systems.
You can download it from **https://github.com/iBotPeaches/Apktool.** If you are using Mac, you can install it with Homebrew by executing the command brew install apktool.
If you only need to view the app's resources, Apktool should be sufficient for your needs. If you need to view the app's source code, you will also need to use dex2jar and jd-gui. There are tutorials available online that you can search for to guide you through the process.
Convert .dex files to .jar files.
You can download it from https://sourceforge.net/projects/dex2jar/files/
It allows you to explore the Java source code contained within the JAR file.
You can download it from http://java-decompiler.github.io/