Closed f-odhiambo closed 2 years ago
are you still experiencing this issue?
i'm not sure if apple silicon or m1 is the issue. it's probably more likely the android sdk in android studio. can you please share your gradle jdk setup and the project structure set up in android studio?
I think I got a solution to this
Add
kapt ("org.xerial:sqlite-jdbc:3.36.0.3")
implementation("org.robolectric:robolectric:4.7.3")
Before
kapt(Dependencies.Room.compiler)
in the build.gradle.kts
(Module: android-fhir.engine)
Research links here
Not sure how this can be fixed on SDK seems like an arm architecture issue with SQLIte support /Java libs CC @jingtang10
CC @Tarun-Bhardwaj
@f-odhiambo room 2.4.0 solves this issue according the the release notes. See 2.4.0-alpha03 https://developer.android.com/jetpack/androidx/releases/room#version_240_2
@f-odhiambo , can this issue be closed based on the comments above?
yes
Describe the bug Issues around SQLite loaders while trying to run apps on M1 based macs. No native library to support
Component Reference app or SDC gallery app
To Reproduce Steps to reproduce the behaviour:
Suggested behavior
Open
build.gradle.kts
in engine Addkapt("org.xerial:sqlite-jdbc:3.34.0")
Beforekapt(Dependencies.Room.compiler)
Expected behaviour The application should build normally similar to intel based macs
Screenshots N/A
Smartphone (please complete the following information): Try running on Emulator or Physcicsla device API 25 and above
Additional context Add any other context about the problem here. See more here https://youtrack.jetbrains.com/issue/DBE-12342 Would you like to work on the issue? N/A