java.lang.RuntimeException: Exception while computing database live data. at androidx.room.RoomTrackingLiveData$1.run(RoomTrackingLiveData.java:92) 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:919) Caused by: java.lang.IllegalStateException: Room cannot verify the data integrity. Looks like you've changed schema but forgot to update the version number. You can simply fix this by increasing the version number. at androidx.room.RoomOpenHelper.checkIdentity(RoomOpenHelper.java:139) at androidx.room.RoomOpenHelper.onOpen(RoomOpenHelper.java:119) at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper$OpenHelper.onOpen(FrameworkSQLiteOpenHelper.java:142) at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:428) at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:317) 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.inTransaction(RoomDatabase.java:448) at androidx.room.RoomDatabase.assertNotSuspendingTransaction(RoomDatabase.java:275) at androidx.room.RoomDatabase.query(RoomDatabase.java:304) at androidx.room.util.DBUtil.query(DBUtil.java:54) at ir.roohi.farshid.reminderpro.database.NoteDao_Impl$5.call(NoteDao_Impl.java:198) at ir.roohi.farshid.reminderpro.database.NoteDao_Impl$5.call(NoteDao_Impl.java:195) at androidx.room.RoomTrackingLiveData$1.run(RoomTrackingLiveData.java:90)
java.lang.RuntimeException: Exception while computing database live data. at androidx.room.RoomTrackingLiveData$1.run(RoomTrackingLiveData.java:92) 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:919) Caused by: java.lang.IllegalStateException: Room cannot verify the data integrity. Looks like you've changed schema but forgot to update the version number. You can simply fix this by increasing the version number. at androidx.room.RoomOpenHelper.checkIdentity(RoomOpenHelper.java:139) at androidx.room.RoomOpenHelper.onOpen(RoomOpenHelper.java:119) at androidx.sqlite.db.framework.FrameworkSQLiteOpenHelper$OpenHelper.onOpen(FrameworkSQLiteOpenHelper.java:142) at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(SQLiteOpenHelper.java:428) at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:317) 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.inTransaction(RoomDatabase.java:448) at androidx.room.RoomDatabase.assertNotSuspendingTransaction(RoomDatabase.java:275) at androidx.room.RoomDatabase.query(RoomDatabase.java:304) at androidx.room.util.DBUtil.query(DBUtil.java:54) at ir.roohi.farshid.reminderpro.database.NoteDao_Impl$5.call(NoteDao_Impl.java:198) at ir.roohi.farshid.reminderpro.database.NoteDao_Impl$5.call(NoteDao_Impl.java:195) at androidx.room.RoomTrackingLiveData$1.run(RoomTrackingLiveData.java:90)