android / codelab-android-room-with-a-view

Apache License 2.0
759 stars 493 forks source link

android.database.sqlite.SQLiteCantOpenDatabaseException #168

Open appsapiconsole opened 3 years ago

appsapiconsole commented 3 years ago

android.database.sqlite.SQLiteCantOpenDatabaseException: at android.database.sqlite.SQLiteConnection.nativeOpen (SQLiteConnection.java) at android.database.sqlite.SQLiteConnection.open (SQLiteConnection.java:284) at android.database.sqlite.SQLiteConnection.open (SQLiteConnection.java:215) at android.database.sqlite.SQLiteConnectionPool.openConnectionLocked (SQLiteConnectionPool.java:705) at android.database.sqlite.SQLiteConnectionPool.open (SQLiteConnectionPool.java:272) at android.database.sqlite.SQLiteConnectionPool.open (SQLiteConnectionPool.java:239) at android.database.sqlite.SQLiteDatabase.openInner (SQLiteDatabase.java:1292) at android.database.sqlite.SQLiteDatabase.open (SQLiteDatabase.java:1247) at android.database.sqlite.SQLiteDatabase.openDatabase (SQLiteDatabase.java:903) at android.database.sqlite.SQLiteDatabase.openDatabase (SQLiteDatabase.java:893) at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked (SQLiteOpenHelper.java:355) at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase (SQLiteOpenHelper.java:298) at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper$OpenHelper.getWritableSupportDatabase (FrameworkSQLiteOpenHelper.java:92) at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper.getWritableDatabase (FrameworkSQLiteOpenHelper.java:53) at androidx.room.RoomDatabase.beginTransaction (RoomDatabase.java:352) at androidx.work.impl.utils.ForceStopRunnable.cleanUp (ForceStopRunnable.java:135) at androidx.work.impl.utils.ForceStopRunnable.run (ForceStopRunnable.java:79) at androidx.work.impl.utils.SerialExecutor$Task.run (SerialExecutor.java:75) at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1167) at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:641) at java.lang.Thread.run (Thread.java:764)

florina-muntenescu commented 3 years ago

Could you provide more information here? At which step are you getting this?