ADBApp ManagementCaution
adb uninstall <package_name>
Uninstall application
Caution RequiredRemoves the application and permanently deletes user data unless the -k flag is specified.
What It Does
Removes the installed application package and deletes its private data directories from /data/data.
Command Syntax
Terminal
$
adb uninstall [-k] <package_name>Parameters & Placeholders Breakdown
This command syntax includes specific placeholder tokens. Below is an explanation of what each word represents and concrete real-world values to replace it with:
[-k] K ParameterReplace this placeholder with your specific k value.
Real-world value:your--k
Command syntax:
adb uninstall your--k <package_name><package_name>Application Package IDThe unique reverse-domain bundle identifier of the Android application defined in its AndroidManifest.xml.
Real-world value:com.whatsapp or com.android.chrome
Command syntax:
adb uninstall com.whatsapp (or: adb shell pm clear com.android.chrome)To list all installed packages on your phone, execute "adb shell pm list packages".
Usage Examples
$
adb uninstall com.example.myapp$
adb uninstall -k com.example.myappOptions & Flags
| Flag / Parameter | Description |
|---|---|
| -k | Keep the application data and cache directories after package removal. |
Prerequisites & Requirements
- Device connected and authorized
Related Commands
Found an error or missing flag for
adb uninstall <package_name>?Submit a correction or request additional examples on GitHub.
Having issue? Contact @mkr_infinity
Direct technical assistance & ROM flashing troubleshooting by Mohammad Kaif Raja.