E/SQLiteLog: (14) cannot open file at line 37816 of [c255889bd9]
(14) os_unix.c:37816: (13) lstat(/data/user/0/com.example/no_backup/androidx.work.workdb) -
(1) Process m.example : Pid (13632) Uid (11395) Euid (11395) Gid (11395) Egid (11395)
(1) osStat failed "/data/user/0/com.example/no_backup/androidx.work.workdb" due to error (13)
(1) osStat failed "/data/user/0/com.first.academy/no_backup" due to error (13)
(1) Stat of /data/user/0/com.example : st_mode(40700) st_uid(11385) st_gid(11385) st_ino(164253)
(1) Stat of /data/user/0 : st_mode(40771) st_uid(1000) st_gid(1000) st_ino(131074)
(1) Stat of /data/user : st_mode(40711) st_uid(1000) st_gid(1000) st_ino(655366)
(1) Stat of /data : st_mode(40771) st_uid(1000) st_gid(1000) st_ino(2)
.....
E/SQLiteDatabase: Failed to open database '/data/user/0/com.example/no_backup/androidx.work.workdb'.
android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 1806 SQLITE_CANTOPEN_EACCES[1806]): Could not open database
...
E/WM-ForceStopRunnable: The file system on the device is in a bad state. WorkManager cannot access the app's internal data store.
android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 1806 SQLITE_CANTOPEN_EACCES[1806]): Could not open database
...
E/AndroidRuntime: FATAL EXCEPTION: pool-3-thread-1
Process: com.example, PID: 13632
java.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:115)
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:764)
Caused by: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 1806 SQLITE_CANTOPEN_EACCES[1806]): Could not open database
....
Когда я добавил библиотеку диспетчера работ в студию Android и запустил приложение, оно вылетает с этой ошибкой: [code]E/SQLiteLog: (14) cannot open file at line 37816 of [c255889bd9] (14) os_unix.c:37816: (13) lstat(/data/user/0/com.example/no_backup/androidx.work.workdb) - (1) Process m.example : Pid (13632) Uid (11395) Euid (11395) Gid (11395) Egid (11395) (1) osStat failed "/data/user/0/com.example/no_backup/androidx.work.workdb" due to error (13) (1) osStat failed "/data/user/0/com.first.academy/no_backup" due to error (13) (1) Stat of /data/user/0/com.example : st_mode(40700) st_uid(11385) st_gid(11385) st_ino(164253) (1) Stat of /data/user/0 : st_mode(40771) st_uid(1000) st_gid(1000) st_ino(131074) (1) Stat of /data/user : st_mode(40711) st_uid(1000) st_gid(1000) st_ino(655366) (1) Stat of /data : st_mode(40771) st_uid(1000) st_gid(1000) st_ino(2) .....
E/SQLiteDatabase: Failed to open database '/data/user/0/com.example/no_backup/androidx.work.workdb'. android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 1806 SQLITE_CANTOPEN_EACCES[1806]): Could not open database ...
E/WM-ForceStopRunnable: The file system on the device is in a bad state. WorkManager cannot access the app's internal data store. android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 1806 SQLITE_CANTOPEN_EACCES[1806]): Could not open database ...
E/AndroidRuntime: FATAL EXCEPTION: pool-3-thread-1 Process: com.example, PID: 13632 java.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:115) 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:764) Caused by: android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 1806 SQLITE_CANTOPEN_EACCES[1806]): Could not open database ....
[/code] Это добавленная мною библиотека: [code]implementation "androidx.work:work-runtime-ktx:2.4.0" [/code] Когда я удаляю эту библиотеку, она снова работает. Не знаю, проблема в устройстве или в приложении.
Когда я добавил библиотеку менеджера рабочего менеджера в Android Studio и запускаю приложение, которое он сбивает с этой ошибкой:
E/SQLiteLog: (14) cannot open file at line 37816 of
(14) os_unix.c:37816: (13)...
Когда я добавил библиотеку менеджера рабочего менеджера в Android Studio и запускаю приложение, которое он сбивает с этой ошибкой:
E/SQLiteLog: (14) cannot open file at line 37816 of
(14) os_unix.c:37816: (13)...
Мое приложение не собирается открыть. Когда я пытаюсь открыть приложение сразу же закрытым при сбое ниже.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...
Мое приложение не собирается открыть. Когда я пытаюсь открыть приложение сразу же закрытым при сбое ниже.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...
как это сделать, если контекст доступен только в onCreate, поэтому инициализация workManagerConfiguration невозможна?
class MyApplication : Application(), Configuration.Provider {
lateinit var appContainer: AppContainer