Hello, Thank's for this post is helped me so much during several months.
I have :
- Create Plugins folder and place into it following files : "Mono.Data.Sqlite.dll" "sqlite3.dll" "System.Data.dll" "sqlite3.def"
- Create Plugins/Android folder and place into it : "libsqlite3.so"
- Modify settings from .Net2.0 subset to .Net2.0 in player preference
And that work !
Now, I have upgraded my phone from Android 7.0 to Android 8.0 and that work no more..
I tried :
- Write Protection to External SD
- Modify Minimum API lvl from LVL 16 to LVL23
- Modify import setting of libsqlite3.so to ARM64 (I have a Samsung Galaxy S7)
- Create different folder in Plugins/Android/libs like /x86 or /armeabi-v7a or /arm64-v8a and place into it the libsqlite3.so with the adapted import setting
- Compile the source code of sqlite for create my own libsqlite3.so (but I have abandonned)
- Find a way to autorize all permission in the AndroidManifest file (but I have abandonned)
On the smartPhone of a friend (Samsung Galaxy S6 Android 7.0) all works fine..
Someone could help me please ?
The error is the following :
System.DllNotFoundException : sqlite3 at (wrapper managed-to-native)
Mono.Data.Sqlite.Unsafe.NativeMethods:sqlite3_open_v2 (byte[],inptr&,int,intptr)
at Mono.Data.Sqlite.SQLite3.Open (System.String strFilename, SQLiteOpenFlagsEnum Flags, Int32 maxPoolSize, Boolean usePool) [0x00000] in :0
at Mono.Data.SqliteConnection.Open () [0x00000] in :0
at BaseDeDonne.Connection () [0x00000] in :0
Click to expand...