Random exception android.database.sqlite.SQLiteException: unable to open database file

后端 未结 7 576
孤街浪徒
孤街浪徒 2020-12-14 07:59

My app uses a uncaught exception handler that sends the stack trace to me when the app crashes. Often I get this report from random users.

I cannot replicate it, th

相关标签:
7条回答
  • 2020-12-14 08:36

    One of the possible scenarios when this could happen -- is when you access your database file from several threads and when the file is locked by one of the threads while you're trying to open it for modifications from another thread.

    0 讨论(0)
提交回复
热议问题