Joke Collection Website - Public benefit messages - How to view the source code of Android APP?

How to view the source code of Android APP?

You need to store the decompiled apk in the folder directory of apktools at the same level, and then run the installation package to view it, as shown below:

1. First, store the decompiled apk in the folder directory of apktools at the same level, as shown in the following figure.

2. Press shift+ right mouse button to open the command window and run the code apktool d yd.apk (the name of the installation package).

3. Change the suffix name of apk to zip, and double-click to open the xml format file after decompression, as shown in the figure below.

4. Open the cmd command window and enter the commands in turn, as shown in the figure below.

5. You need dex2ja to package classes.dex into a jar package.

6. Then you can view the required source code, as shown in the figure below.