小编Bha*_*ani的帖子

IllegalStateException:设备上的文件系统处于错误状态。WorkManager 无法访问应用程序的内部数据存储

我的应用程序无法打开。当我尝试打开应用程序时,它立即关闭并出现以下崩溃。

仅在一台设备 Redmi note 10s 上发生这种情况。(Android 11)

Workmanager 似乎有问题,但没有找到任何解决方案

The file system on the device is in a bad state. WorkManager cannot access the app's internal data store.Error Message: The file system on the device is in a bad state. WorkManager cannot access the app's internal data store.StackTracejava.lang.IllegalStateException: The file system on the device is in a bad state. WorkManager cannot access the app's internal data store.
    at androidx.work.impl.utils.ForceStopRunnable.run(ForceStopRunnable.java:120)
    at androidx.work.impl.utils.SerialExecutor$Task.run(SerialExecutor.java:91)
    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:923)
    Caused by: android.database.sqlite.SQLiteCantOpenDatabaseException: …
Run Code Online (Sandbox Code Playgroud)

java android kotlin android-database android-workmanager

10
推荐指数
0
解决办法
676
查看次数