Package Management
Android 1.0+
Risk: POTENTIALLY_DISRUPTIVE
Uninstall Package
Uninstalls an application package and removes its private data directory.
Command Syntax
adb uninstall
Generic Syntax:
adb uninstall [-k] [--user <USER_ID>] <package-name>
Options & Parameters
| Flag | Description |
|---|---|
| -k | Keep the data and cache directories after package removal. |
| --user <ID> | Uninstall for specific user ID only. |
Real-World Usage Examples
Uninstall an app completely
Removes app and all associated data.
adb uninstall com.example.app
Output:
Success
Uninstall app while keeping cache and data
Deletes binary but retains user data files.
adb uninstall -k com.example.app
Output:
Success