DllImport error loading library libe_sqlite3 not found

Hi,

I'm am trying to use the sqlite-net-pcl library form Frank Kreuger. When I am debugging on the device, I get the following Output:

02-28 23:40:11.006 D/Mono (11235): DllImport attempting to load: 'e_sqlite3'.
02-28 23:40:11.007 D/Mono (11235): DllImport error loading library '/storage/emulated/0/Android/data/ApeksIT.TimeTracker/files/.override/libe_sqlite3': 'dlopen failed: library "/data/app/ApeksIT.TimeTracker-1/lib/arm//storage/emulated/0/Android/data/ApeksIT.TimeTracker/files/.override/libe_sqlite3" not found'.
02-28 23:40:11.007 D/Mono (11235): DllImport error loading library '/storage/emulated/0/Android/data/ApeksIT.TimeTracker/files/.override/libe_sqlite3.so': 'dlopen failed: library "/data/app/ApeksIT.TimeTracker-1/lib/arm//storage/emulated/0/Android/data/ApeksIT.TimeTracker/files/.override/libe_sqlite3.so" not found'.
02-28 23:40:11.008 D/Mono (11235): DllImport error loading library '/system/lib/libe_sqlite3': 'dlopen failed: library "/data/app/ApeksIT.TimeTracker-1/lib/arm//system/lib/libe_sqlite3" not found'.
02-28 23:40:11.008 D/Mono (11235): DllImport error loading library '/system/lib/libe_sqlite3.so': 'dlopen failed: library "/data/app/ApeksIT.TimeTracker-1/lib/arm//system/lib/libe_sqlite3.so" not found'.
02-28 23:40:11.008 D/Mono (11235): DllImport error loading library 'libe_sqlite3': 'dlopen failed: library "/data/app/ApeksIT.TimeTracker-1/lib/arm/libe_sqlite3" not found'.
02-28 23:40:11.009 D/Mono (11235): DllImport loaded library 'libe_sqlite3.so'.
02-28 23:40:11.009 D/Mono (11235): DllImport searching in: 'e_sqlite3' ('libe_sqlite3.so').
02-28 23:40:11.009 D/Mono (11235): Searching for 'sqlite3_libversion_number'.
02-28 23:40:11.021 D/Mono (11235): DllImport searching in: 'e_sqlite3' ('libe_sqlite3.so').
02-28 23:40:11.021 D/Mono (11235): Searching for 'sqlite3_open_v2'.
02-28 23:40:11.037 D/Mono (11235): DllImport searching in: 'e_sqlite3' ('libe_sqlite3.so').
02-28 23:40:11.037 D/Mono (11235): Searching for 'sqlite3_busy_timeout'.

When I unpack the APK in the Debug folder, I can see that the file is included:

But when I look on the device, the file is not deployed in the folder shown in the error:

What Am I doing wrong here?

Thanks a lot!

Rob

Tagged:

Best Answer

  • Robert_VdVRobert_VdV US ✭✭
    Accepted Answer

    Topic can be closed: apparently the DB integration works just fine. There was an other bug in the same function. Not sure why the errors above are showing.

Answers

  • Robert_VdVRobert_VdV USMember ✭✭
    Accepted Answer

    Topic can be closed: apparently the DB integration works just fine. There was an other bug in the same function. Not sure why the errors above are showing.

  • imthathmimthathm USMember

    @Robert_VdV what was the other error bro? I'm getting the same errors

  • Robert_VdVRobert_VdV USMember ✭✭

    I think the error was unrelated to this error. Otherwise I would have mentioned it. If you also get a line like this: DllImport loaded library 'libe_sqlite3.so'. I think the issue in the code is somewhere else.

Sign In or Register to comment.