android.database.sqlite.SQLiteException: not an error (code 0): Could not open the database in read/write mode. at android.database.sqlite.SQLiteConnection.nativeOpe n(Native Method) at android.database.sqlite.SQLiteConnection.open(SQLi teConnection.java:209) at android.database.sqlite.SQLiteConnection.open(SQLi teConnection.java:193) at android.database.sqlite.SQLiteConnectionPool.openC onnectionLocked(SQLiteConnectionPool.java:463) at android.database.sqlite.SQLiteConnectionPool.open( SQLiteConnectionPool.java:185) at android.database.sqlite.SQLiteConnectionPool.open( SQLiteConnectionPool.java:177) at android.database.sqlite.SQLiteDatabase.openInner(S QLiteDatabase.java:804) at android.database.sqlite.SQLiteDatabase.open(SQLite Database.java:789) at android.database.sqlite.SQLiteDatabase.openDatabas e(SQLiteDatabase.java:694) at android.app.ContextImpl.openOrCreateDatabase(Conte xtImpl.java:951) at android.content.ContextWrapper.openOrCreateDatabas e(ContextWrapper.java:256) at android.content.ContextWrapper.openOrCreateDatabas e(ContextWrapper.java:256) at android.database.sqlite.SQLiteOpenHelper.getDataba seLocked(SQLiteOpenHelper.java:224) at android.database.sqlite.SQLiteOpenHelper.getWritab leDatabase(SQLiteOpenHelper.java:164) at com.google.android.gms.playlog.store.r.d(:com.goog le.android.gms:97) at com.google.android.gms.clearcut.service.a.a(:com.g oogle.android.gms:153) at com.google.android.gms.common.service.f.run(:com.g oogle.android.gms:176) at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587) at com.google.android.gms.common.util.a.c.run(:com.go ogle.android.gms:17)

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Android Enthusiasts by Mikhail
, 1 year ago
not an error (code 0): Could not open the database in read/write mode. at android.database.sqlite.SQLiteConnection.nativeOpe n(Native Method) at android.database.sqlite.SQLiteConnection.open(SQLi teConnection.java:209) at
android.database.sqlite.SQLiteException: not an error (code 0): Could not open the database in read/write mode. at android.database.sqlite.SQLiteConnection.nativeOpe n(Native Method) at android.database.sqlite.SQLiteConnection.open(SQLi teConnection.java:209) at android.database.sqlite.SQLiteConnection.open(SQLi teConnection.java:193) at android.database.sqlite.SQLiteConnectionPool.openC onnectionLocked(SQLiteConnectionPool.java:463) at android.database.sqlite.SQLiteConnectionPool.open( SQLiteConnectionPool.java:185) at android.database.sqlite.SQLiteConnectionPool.open( SQLiteConnectionPool.java:177) at android.database.sqlite.SQLiteDatabase.openInner(S QLiteDatabase.java:804) at android.database.sqlite.SQLiteDatabase.open(SQLite Database.java:789) at android.database.sqlite.SQLiteDatabase.openDatabas e(SQLiteDatabase.java:694) at android.app.ContextImpl.openOrCreateDatabase(Conte xtImpl.java:951) at android.content.ContextWrapper.openOrCreateDatabas e(ContextWrapper.java:256) at android.content.ContextWrapper.openOrCreateDatabas e(ContextWrapper.java:256) at android.database.sqlite.SQLiteOpenHelper.getDataba seLocked(SQLiteOpenHelper.java:224) at android.database.sqlite.SQLiteOpenHelper.getWritab leDatabase(SQLiteOpenHelper.java:164) at com.google.android.gms.playlog.store.r.d(:com.goog le.android.gms:97) at com.google.android.gms.clearcut.service.a.a(:com.g oogle.android.gms:153) at com.google.android.gms.common.service.f.run(:com.g oogle.android.gms:176) at java.util.concurrent.ThreadPoolExecutor.runWorker( ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:587) at com.google.android.gms.common.util.a.c.run(:com.go ogle.android.gms:17)
at java.lang.Thread.run(Thread.java:841)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.