How to uninstall an android app from command line on the device
To forcefully uninstall the system user apps:
Use:
adb shell pm uninstall --user 0 <package_name>
Trying using the pm
command:
pm uninstall <package_name>
or
pm uninstall -k <package_name>
The -k
flag keeps the data and cache directories after the package is removed.
I haven't tested this myself, but I don't think this should show a warning message.