DllNotFoundException sqlite not found in android
So I have a problem.
I'm trying to use sqlite on Android device. When I use Scripting Backend on Mono it works perfect, but when I use it on IL2CPP and Architecture is 64 it throws an exception given in the picture:
Failed to load 'Assets/Plugins/sqlite3.dll', expected x64 architecture, but was x86 architecture. You must recompile your plugin for x64 architecture.
UnityEngine.StackTraceUtility:ExtractStackTrace ()
In Android folder there is sqlite3.so file. And it has platform CPU setting for android on ARM64.
Thanks for your help.
error.jpg
(65.0 kB)
sqlite3-dll.jpg
(46.0 kB)
Comment
Answer by driuki · Mar 13 at 12:10 PM
I found this guy on the github and it helped me to solve the issue. https://github.com/robertohuertasm/SQLite4Unity3d
Your answer
Follow this Question
Related Questions
Security with android 1 Answer
POST request to RESTful APIs 0 Answers
WWWForm and xamp??? 0 Answers
Best Practice: Game Data Human in Readable Format 0 Answers
Database and connection with unity Steam vs MySql vs SomethingElse (MultiPlayer) 0 Answers