Package Management
Android 1.0+
Risk: READ_ONLY
Get APK Filesystem Path
Prints the exact filesystem path to the installed APK file on the device.
Command Syntax
adb shell pm path
Generic Syntax:
pm path [--user <USER_ID>] <package-name>
Options & Parameters
| Flag | Description |
|---|---|
| --user <ID> | Inspect package path for specific user ID. |
Real-World Usage Examples
Locate APK on device storage
Returns APK location.
adb shell pm path com.spotify.music
Output:
package:/data/app/~~u-J39d==/com.spotify.music-d9A==/base.apk