[SOLVED] DllImport error loading library libe_sqlite3 not found

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.

-- EDIT--

Hi,

First of all, sorry I am posting in a general forum about development. My low post count doesn't allow me to post in a Dev forum.

I'm am trying to use the sqlite-net-pcl library form Frank Kreuger. Dev in Visual Studio 2015 with Xamarin. Debugging on a Moto G 3th gen XT1541.

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/AppName.TimeTracker/files/.override/libe_sqlite3': 'dlopen failed: library "/data/app/AppName.TimeTracker-1/lib/arm//storage/emulated/0/Android/data/AppName.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/AppName.TimeTracker/files/.override/libe_sqlite3.so': 'dlopen failed: library "/data/app/AppName.TimeTracker-1/lib/arm//storage/emulated/0/Android/data/AppName.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/AppName.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/AppName.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/AppName.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:
Folders
Files in each folder

But when I look on the device, the file is not deployed in the folder shown in the error:
Folder on phone Moto G 3th gen XT1541

What Am I doing wrong here?

Thanks a lot!

Rob

Comments

Popular posts from this blog

[Q] Expect to be able to root the Tab 4 ?

Security Question