Hi, I have an app that has widget.
When I put the widget in the home screen I can see it, but it's information does not refresh.
Sometimes when I click on the widget I get a crash report.
How to solve it to get the widget working again ?
After updating to xiaomi.eu 14.0.6.0 it worked well, and stopped working suddenly.
When I put the widget in the home screen I can see it, but it's information does not refresh.
Sometimes when I click on the widget I get a crash report.
How to solve it to get the widget working again ?
After updating to xiaomi.eu 14.0.6.0 it worked well, and stopped working suddenly.
java.lang.RuntimeException: Unable to start receiver com.kanout.mawaqit.provider.RectangleAppWidgetProvider: 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 android.app.ActivityThread.handleReceiver(Unknown Source:389)
at android.app.ActivityThread.-$$Nest$mhandleReceiver(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(Unknown Source:839)
at android.os.Handler.dispatchMessage(Unknown Source:19)
at android.os.Looper.loopOnce(Unknown Source:182)
at android.os.Looper.loop(Unknown Source:82)
at android.app.ActivityThread.main(Unknown Source:108)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:312)
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.m.h(Unknown Source:53)
at androidx.room.m.f(Unknown Source:3)
at u1.b$a.onOpen(Unknown Source:10)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(Unknown Source:334)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(Unknown Source:2)
at u1.b$a.d(Unknown Source:4)
at u1.b.b(Unknown Source:2)
at androidx.room.k.inTransaction(Unknown Source:2)
at androidx.room.k.assertNotSuspendingTransaction(Unknown Source:0)
at com.kanout.mawaqit.data.MosqueInformationDAO_Impl.getFirst(Unknown Source:9)
at com.kanout.mawaqit.provider.RectangleAppWidgetProvider$c.invokeSuspend(Unknown Source:12)
at kotlin.coroutines.jvm.internal.a.resumeWith(Unknown Source:11)
at kotlinx.coroutines.d1.run(Unknown Source:129)
at kotlinx.coroutines.internal.n.run(Unknown Source:12)
at kotlinx.coroutines.scheduling.k.run(Unknown Source:2)
at kotlinx.coroutines.scheduling.a.A(Unknown Source:0)
at kotlinx.coroutines.scheduling.a$c.d(Unknown Source:14)
at kotlinx.coroutines.scheduling.a$c.n(Unknown Source:28)
at kotlinx.coroutines.scheduling.a$c.run(Unknown Source:0)
at android.app.ActivityThread.handleReceiver(Unknown Source:389)
at android.app.ActivityThread.-$$Nest$mhandleReceiver(Unknown Source:0)
at android.app.ActivityThread$H.handleMessage(Unknown Source:839)
at android.os.Handler.dispatchMessage(Unknown Source:19)
at android.os.Looper.loopOnce(Unknown Source:182)
at android.os.Looper.loop(Unknown Source:82)
at android.app.ActivityThread.main(Unknown Source:108)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(Unknown Source:11)
at com.android.internal.os.ZygoteInit.main(Unknown Source:312)
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.m.h(Unknown Source:53)
at androidx.room.m.f(Unknown Source:3)
at u1.b$a.onOpen(Unknown Source:10)
at android.database.sqlite.SQLiteOpenHelper.getDatabaseLocked(Unknown Source:334)
at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(Unknown Source:2)
at u1.b$a.d(Unknown Source:4)
at u1.b.b(Unknown Source:2)
at androidx.room.k.inTransaction(Unknown Source:2)
at androidx.room.k.assertNotSuspendingTransaction(Unknown Source:0)
at com.kanout.mawaqit.data.MosqueInformationDAO_Impl.getFirst(Unknown Source:9)
at com.kanout.mawaqit.provider.RectangleAppWidgetProvider$c.invokeSuspend(Unknown Source:12)
at kotlin.coroutines.jvm.internal.a.resumeWith(Unknown Source:11)
at kotlinx.coroutines.d1.run(Unknown Source:129)
at kotlinx.coroutines.internal.n.run(Unknown Source:12)
at kotlinx.coroutines.scheduling.k.run(Unknown Source:2)
at kotlinx.coroutines.scheduling.a.A(Unknown Source:0)
at kotlinx.coroutines.scheduling.a$c.d(Unknown Source:14)
at kotlinx.coroutines.scheduling.a$c.n(Unknown Source:28)
at kotlinx.coroutines.scheduling.a$c.run(Unknown Source:0)