Get the apk directory in adb through the package name
1. View the directory where the apk is located
adb shell pm path 包名
Another friend here wants to ask:
Friends: I know how to get the apk directory through the package name, but how do I know where to look for the package name?
2. Check the package name
Method 1: The package name can be viewed in AndroidManifest.xml in the project
At this point, another friend wants to ask how to check the package name if I don’t have a project.
Isn’t this the solution again?
Method 2: adb shell am monitor, then click on the application that needs to view the package name, and the package name will appear.
adb shell am monitor