SQLitePCL.raw icon indicating copy to clipboard operation
SQLitePCL.raw copied to clipboard

Unity android support

Open AlexSchuetz opened this issue 3 years ago • 1 comments

I have a NET-standard library that uses SQLitePCLRaw.bundle_green (over sqlite-net-pcl).

Since in Unity nuget doesn't work. I copy all the needed libraries and dlls manually. Especially libraries from 'sqlitepclraw.lib.e_sqlite3.2.0.7'->runtimes.

I used the following configurations:

  • win-86/native/e_sqlite3.dll => all platforms except android; OS: Windows; CPU: x86
  • win-64/native/e_sqlite3.dll => all platforms except android; OS: Windows; CPU: x64
  • linux-arm/native/libe_sqlite3.so => platform: andoird; CPU: ARMv7
  • linux-arm64/native/libe_sqlite3.so => platfom: android; CPU: ARM64
  • linux-x86/native/libe_sqlite3.so => platform: android; CPU: x86
  • linux-x64/native/libe_sqlite3.so => all platforms except android; OS: Linux; CPU: x64

This works correct on windows. But on Oculus Quest 2 I get an error that the dll "e_sqlite3" is not found. The Oculus Quest 2 is based on android. CPU: ARMv8-A

Which library would I have to use?

AlexSchuetz avatar Jan 05 '22 13:01 AlexSchuetz

I now compiled the library myself and used the libraries I found in cb\bld\bin\e_sqlite3\android.

I would prefer using libraries extracted from a nuget-package, so that everything is reproducible and that versions fit.

Unfortunately I didn't find a package containing these libraries. Can you tell me where I can find them?

AlexSchuetz avatar Jan 06 '22 08:01 AlexSchuetz