Closed aldisat closed 9 months ago
I have the same issue on a mac m1
Detailed error info
Caused by: java.lang.Exception: No native library is found for os.name=Mac and os.arch=aarch64. path=/org/sqlite/native/Mac/aarch64 at org.sqlite.SQLiteJDBCLoader.loadSQLiteNativeLibrary(SQLiteJDBCLoader.java:333)
same issue on m1 mac
so can we dev android apps with SQL or Room on m1 macs?
edit: go to gradle and change the room version to 2.4.1. working as of 17 jan 2022.
@deckikwok thank you so much! the solution to update the Room library to newer version 2.4.1 worked for me, too
Yes, @deckikwok gives the answer
From Room Library: https://developer.android.com/jetpack/androidx/releases/room#version_240_3
URL of codelab https://developer.android.com/codelabs/basic-android-kotlin-training-sql-basics?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-5-pathway-1%3Fhl%3Den%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-sql-basics&hl=en#2
In which task and step of the codelab can this issue be found? in step 3
Describe the problem
Steps to reproduce? when run app
Versions Android Studio version: Arctic Fox | 2020.3.1 Patch 3 (arm64 Preview) API version of the emulator: 31