getting same as following on iOS and also `java.la...
# room
j
getting same as following on iOS and also
java.lang.ClassNotFoundException: androidx.sqlite.SQLiteDriver
in Compose for Desktop client using. 2.7.0-beta01 https://kotlinlang.slack.com/archives/C3PQML5NU/p1739479027685279
this is what I have for JVM
Copy code
fun createRoomDatabase(): AppDatabase {
    val dbFile = File(System.getProperty("java.io.tmpdir"), dbFileName)
    return Room.databaseBuilder<AppDatabase>(name = dbFile.absolutePath,)
        .setDriver(BundledSQLiteDriver())
        .build()
}
2
d
We are aware of the issue: https://issuetracker.google.com/396148592 The Gradle Metadata is broken between in alpha13 and beta01.
I submitted a fix already for the next release and in the issue there is a workaround.
👍 4