Status Update
Comments
da...@google.com <da...@google.com> #2
This is a known issue that will be fixed in the next release, see
mz...@gmail.com <mz...@gmail.com> #3
Do you know when this fix fill be released?
Do you have any workaround?
Do you have any workaround?
da...@google.com <da...@google.com> #4
Next release is tomorrow Wednesday, for the rc01
version that will have the fix.
See
Description
java.lang.NoClassDefFoundError: androidx/solite/SQLiteDriver @
java.base/java.lang.ClassLoader.defineClass1 (Native Method)
My implementation in build.gradle.kts
commonMain.dependencies {
implementation(libs.room.runtime)
implementation(libs.sqlite.bundled)
}
dependencies {
add("kspAndroid", libs.room.compiler)
add("kspIosX64", libs.room.compiler)
add("kspIosArm64", libs.room.compiler)
add("kspIosSimulatorArm64", libs.room.compiler)
add("kspJvm", libs.room.compiler)
}
room {
schemaDirectory("$projectDir/schemas")
}
ksp {
useKsp2 = true //
}
libs.versions.toml:
room = "2.7.0-beta01"
sqlite = "2.5.0-beta01"
room-runtime = { module = "androidx.room:room-runtime", version.ref = "room" }
room-compiler = { module = "androidx.room:room-compiler", version.ref = "room" }
sqlite-bundled = { module = "androidx.sqlite:sqlite-bundled", version.ref = "sqlite" }