gilzoide / unity-sqlite-net

SQLite-net for Unity, supports Windows, Linux, macOS, iOS, tvOS, visionOS, Android and WebGL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unity 2019.4.40f1 Android : SQLite-net 1.0.0-preview10 — DllNotFoundException

RichardsATcn opened this issue · comments

Windows 11 run example success.
but package android error:

2024/05/16 10:46:12.598 30752 30977 Debug Unity Unable to load library '/data/app/~~k3qegS3QM5QMY4EGtYaDYA==/A00.MFB.DYPY-wWHCn8tqlYuv5KY9ODpvrA==/lib/arm64/libgilzoide-sqlite-net.so', native render plugin support disabled: java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "acos" referenced by "/data/app/~~k3qegS3QM5QMY4EGtYaDYA==/A00.MFB.DYPY-wWHCn8tqlYuv5KY9ODpvrA==/lib/arm64/libgilzoide-sqlite-net.so"...

image

Hey @RichardsATcn, thanks for the report!
Hmm, I guess we the native build is missing the link of the math library. Should be easy to fix, I'll look into it possibly this weekend.

This is the same issue as #11.

Version 1.0.0-preview11 should work on Android now, please let me know if it works for you.
Cheers \o/