S
S
Staspost2020-05-01 23:33:52
Android
Staspost, 2020-05-01 23:33:52

Where can I find a working library libsqlite3.so for working with SQLite under Android 64-bit?

I'm trying to make an Android project in Unity 2019.3.0f6 that will work with SQLite.
The problem is that working with SQLite on Android requires the libsqlite3.so library. I found this library but it only works with android 32bit.
When trying to use it in the 64-bit version, when installed on a real device, an error is always generated

Unable to find Sqlite3
, i.e. swears at the lack of this library.
At the same time, this library needs to specify the platform in the inspector:
5eac8b10df7e5115356881.png
In Google Play, you need to upload 2 apk files for different platforms. Depending on which platform I specify in the inspector for this library, it ends up in one or another apk file, but is recognized by Android-om only in the 32-bit version.
What to do, maybe someone has a fresh working libsqlite3.so library for Android 64-bit?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Gaydak, 2020-05-02
@MrMureno

https://www.sqlite.org/download.html
everything is trite here there is a library specifically for android aar
and full-fledged libsqliteX.so in jni.
and in fact you don't need to unpack - aar is just a library format, don't try to tear out the so file from there for some reason.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question