Some apps on Android are enforced by Google and cannot be removed normally via the usual uninstall method. I find this annoying as I don’t want apps that I don’t want cluttering up the app list on my phone.
To get around this weird restriction on google’s apps, you can remove them via adb
.
Assuming that you have adb
setup already and connected to your device via USB debugging, you
can list the packages installed to identify the ones you want to remove using adb shell pm list packages
.
Combine with grep
to filter it:
$ adb shell pm list packages | grep you
package:com.google.android.youtube
Then uninstall the app via:
$ adb uninstall com.google.android.youtube
Success
$ adb shell pm uninstall --user 0 com.google.android.youtube
Success
Seems like you need both of the above commands for it to remove the app from your list.