Android 6.0 and above do not clear sqlite data from phone after uninstalling application

In android 6.0 and higher, when you uninstall the application and reinstall the same application (the same package), it shows the old sqlite data, but in the lower version, after deleting the sqlite data, the application is also cleared of the phone.

+4
source share
3 answers

From the doc:

Android 6.0 (API 23), Android , . , Google , Google.

:

, , , ( ), adb. APK, , .

, :

android:allowBackup="false">

true.

:
https://developer.android.com/guide/topics/data/autobackup.html

+6

. .

-1

Did you get storage permission related to writing or reading storage? This may be the reason for permission.

-2
source

Source: https://habr.com/ru/post/1677958/


All Articles