Pre-Populating ROOM Database results in "java.lang.RuntimeException: Unable to copy database file."
I’m currently trying to pre-populate a ROOM database from a database file within assets using .createFromAsset. While running my application, I get "Caused by: java.lang.RuntimeException: Unable to copy database file." error. My db file path assets/database/cardb.db E/AndroidRuntime: FATAL EXCEPTION: arch_disk_io_0 Process: com.example.myapplication, PID: 8068 java.lang.RuntimeException: Exception while computing database live data. at androidx.room.RoomTrackingLiveData.refreshRunnable$lambda-0(RoomTrackingLiveData.kt:74) at androidx.room.RoomTrackingLiveData.$r8$lambda$UkyPj-RMUoTXOMbUuy5NWSwmo0E(Unknown… Read More Pre-Populating ROOM Database results in "java.lang.RuntimeException: Unable to copy database file."