adb-shell-pm
Verified for current stable LTS
Adb Shell Pm Command: Clear App Data
An engineer would use the 'adb shell pm clear {{package}}' command during app development or testing to reset an application to its initial state by clearing its data, allowing for accurate testing of the app's installation and functionality. Exact CLI syntax to clear app data using Adb Shell Pm.
When to use this: An engineer would use the 'adb shell pm clear {{package}}' command during app development or testing to reset an application to its initial state by clearing its data, allowing for accurate testing of the app's installation and functionality.
Command Syntax
adb shell pm clear <package> adb shell pm clear <package> Command Breakdown
adb is the base executable for this command.
FAQ
Purpose: Exact syntax to clear app data using Adb Shell Pm.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Adb Shell Pm Command: List Installed Packages
adb shell pm list packages Adb Shell Pm Command: Install App Package adb shell pm install /<path/to/app>.apk Adb Shell Pm Command: Uninstall Package adb shell pm uninstall <package> Adb Shell Pm Command: Enable Package adb shell pm enable <package_or_class> Adb Shell Pm Command: Disable Package adb shell pm disable-user <package_or_class>