Hello, I am trying to set up Room DB for android b...
# android
j
Hello, I am trying to set up Room DB for android but i keep getting the error below whenever i build the project
Copy code
A problem was found with the configuration of task ':app:copyRoomSchemasToAndroidTestAssetsDebugAndroidTest' (type 'RoomSimpleCopyTask').
  - In plugin 'androidx.room' type 'androidx.room.gradle.RoomSimpleCopyTask' property 'inputDirectory' specifies directory 'myDirectory/appName/app/schemas' which doesn't exist
Room version =
2.7.0-alpha08
Kotlin Version =
2.0.20
Copy code
plugins {
    alias(libs.plugins.android.application)
    alias(libs.plugins.kotlin.android)
    alias(libs.plugins.compose.compiler)

    alias(libs.plugins.ksp)
    alias(libs.plugins.room)
    ...
}
Copy code
room {
    schemaDirectory("$projectDir/schemas")
}
not kotlin but kotlin colored 3
h
j
It is not a KMP project.
m
did you find a solution for this ?
m
any updates please!
j
I didn't but when I recreated the project everything worked out fine
153 Views