I have a project that uses the NuGet package System.Data.Sqlite
for accessing the DB.
At compile time all works fine, but at runtime when I initialize the connection this error occurs:
System.DllNotFoundException: SQLite.Interop.dll
I have tried to install the NuGet package System.Data.SQLite.Core
but nothing changed.
This error occurs only in Android and iOS device, on UWP all works fine.
How can I solve this?
Anyone has find this error too?
Here a sample project.
Thank you!
Edit:
In that post proposed as solution the package used is sqlite-net-pcl, I use a different package, the System.Data.Sqlite.
This is the package that I use: https://www.nuget.org/packages/System.Data.SQLite
Edit 2:
I've tried to use https://www.nuget.org/packages/sqlite-net-pcl/ and works, but I need to test also https://www.nuget.org/packages/System.Data.SQLite that doesn't works.