2

I'm on an Android and my device is a Huawei. I got this device a few months ago and I don't want to root my device because I don't trust myself.

Is there a way to delete an app without deleting app data?

If possible, I don't want to use ADB because I don't know any good apps and my computer is in a bad state and I just don't want to use it. Even if it's a hard or complicated way, I might do it. I do have other devices that might help.

Andrew T.
  • 15,988
  • 10
  • 74
  • 123
Aaron P
  • 21
  • 1
  • 3

1 Answers1

3

Assuming you are talking about apps you've installed yourself (and not about pre-installed apps), you can utilise for this. You need to know the app's package name first (the part shown in the Play Store URL in the id= parameter, or at F-Droid following the /package/ in the URL). Then, with your device connected:

adb uninstall -k <app.package.name>

replacing <app.package.name> by the app's package name. The -k parameter is telling uninstall to keep the app's data. So when you next install the app, the data is already there and will be used.

Izzy
  • 91,166
  • 73
  • 343
  • 943