Android ADB (Android Debug Bridge) Clear application data


Example

One can clear the user data of a specific app using adb:

adb shell pm clear <package>

This is the same as to browse the settings on the phone, select the app and press on the clear data button.

  • pm invokes the package manager on the device
  • clear deletes all data associated with a package