unity sqlite android,Unity 3D + Android + SQLite Examples

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...

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值