Database won't remove when uninstall the Android Application

后端 未结 5 762
执念已碎
执念已碎 2021-01-30 12:49

I have two major questions.

  1. Database won\'t delete when uninstall app.
  2. Downloaded files won\'t delete while unstable the app.

There is a d

5条回答
  •  滥情空心
    2021-01-30 13:24

    I cam across this question when I was looking for a solution to a similar problem related to GreenDao - slightly more in depth answer here but basically if your on api 23 you'll need to set allowBackup to false to be able to depend on the databases being cleared when you uninstall

    https://stackoverflow.com/a/43046256/5298819

提交回复
热议问题