Hi all, posting the query here as well in case I a...
# room
a
Hi all, posting the query here as well in case I am missing smth https://kotlinlang.slack.com/archives/C3PQML5NU/p1717700524332019
m
I also just got this a few minutes ago. It happens on my Android 11 Samsung device only but works on my other Android 13/14 emulators/devices.
a
In my case this is happening with trying to build the app for IOS
m
Could you check out the alpha 04 version of room and sqlite released today to see if this has been fixed for you?
a
Getting same error with
Copy code
room = "2.7.0-alpha04"
# See release notes from <https://developer.android.com/jetpack/androidx/releases/sqlite>
roomSqliteDriver = "2.5.0-alpha04"
Copy code
> Task :data:kspKotlinIosSimulatorArm64
Failed to load native library:libjansi.jnilib. osinfo: Mac/arm64
java.lang.UnsatisfiedLinkError: /Users/atulgup/.gradle/native/jansi/1.18/osx/libjansi.jnilib: dlopen(/Users/atulgup/.gradle/native/jansi/1.18/osx/libjansi.jnilib, 0x0001): tried: '/Users/atulgup/.gradle/native/jansi/1.18/osx/libjansi.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '/System/Volumes/Preboot/Cryptexes/OS/Users/atulgup/.gradle/native/jansi/1.18/osx/libjansi.jnilib' (no such file), '/Users/atulgup/.gradle/native/jansi/1.18/osx/libjansi.jnilib' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64'))
note: [ksp] loaded provider(s): [androidx.room.RoomKspProcessor$Provider]
error: [ksp] java.lang.IllegalStateException: cannot find class kotlin.jvm.functions.Function1