android / codelab-android-room-with-a-view

Apache License 2.0
746 stars 490 forks source link

When I use Mac with M2 chips, room with the version in Tutorial cannot work well. #246

Open IssaneRen opened 1 year ago

IssaneRen commented 1 year ago
  1. When I use

    roomVersion = '2.2.5'

    I got a error: Caused by: java.lang.Exception: No native library is found for os.name=Mac and os.arch=aarch64. path=/org/sqlite/native/Mac/aarch64

  2. when I upgrade version to

    roomVersion = '2.4.0-alpha03'

    A new error occurs: https://stackoverflow.com/questions/56974137/room-error-not-sure-how-to-handle-insert-methods-return-type

  3. Finally I upgrade to :

    roomVersion = '2.5.0-alpha02'

    it works well.

(Simplified Chinese Tutorial Codelab)