Secret error: "Failed to open phenotype.db database, database is locked." Unable to find information on the Internet

I tried to test the application and it did not start, instead I continued to get this error:

Failed to open database '/data/data/com.google.android.gms/databases/phenotype.db'.
android.database.sqlite.SQLiteDatabaseLockedException: database is locked (code 5): , while compiling: PRAGMA journal_mode

I can not find information about this error on the Internet, and no information on what phenotype.db does. I did not do anything related to databases while I was testing this; the only changes I made were related to the layout.

Oddly enough, this happened in another application that I tested a few weeks ago. It was another application that was being tested on another device, from another computer, and the same error occurred. In this case, I switched to another device and the error disappeared. However, now the device I switched to has this error.

Is this some kind of bug with Google? What can I do to solve this problem to check the application?

+4
source share
1 answer

, , . SQLite , , , . Android, logcat, , , .
:

  • SQLOpenHelper
  • , .
  • endTransaction() , ( , ),
+1

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


All Articles