{"tool":"adb","tool_display":"Adb","intent":"uninstall-package-keep-data","intent_display":"uninstall package keep data","title":"Adb Command: uninstall package keep data","command_string":"adb uninstall -k <com.example.app>","raw_command_string":"adb uninstall -k {{com.example.app}}","description":"Exact CLI syntax to uninstall package keep data using Adb.","usage_scenario":"Utilize this command when troubleshooting application stability issues that require repeated clean installs without losing user-generated data. It's particularly vital during regression tests or when fixing a bug affecting user data consistency in apps.","scenario_context":"Preserve user data while testing by selectively uninstalling applications without losing settings.","simulated_output":"Package com.example.app successfully uninstalled.\\nUser data preserved!","how_to_steps":["Connect your Android device via USB and ensure USB debugging is enabled.","Run the command: `adb uninstall -k com.example.app`","Verify the package is removed while data is intact by checking with `adb shell pm list packages`."],"canonical_url":"https://www.syntaxstandard.com/adb/uninstall-package-keep-data"}