error "unauthorized access to system/lib/libsqlite.so" in android 7.0
I get this error when trying to create the connection from Sqlite.Net namespace for use with SQLite-Net Extensions. I don't get this error if I create the connection in SQLite namespace but since those connections don't provide the extension methods that I need (from SQLite-Net Extensions lib) I am forced to use that connection.
Comments (5)
-
-
reporter Thanks for response, yeah its weird it used to crash my nexus 5p as well but then I built with the older version of andorid build tools and it didn't crash anymore.
I will update to alpha and give it a go, will report back if any problem arise.
-
reporter - changed status to resolved
Updating to the alpha version (After removing all the previous references) fixed the issue.
-
Hi Ali, can you send me the steps to update to alpha version please. I'm using Xamarin with Android 7 and I'm having the same error.
-
I can't get this to work either - and after I update I get errors creating the database.
- Log in to comment
Xamarin changed native sqlite dll(it's seems, libsqlite3.so), so android 7 doesn't support SQLite.Net(As for me, Nexus 6P just show this message, Motorola crashes while initialize sqlite, i'm not sure, why it is different behaviour). You can update to alfa version of sqliteNetExtensions(but please delete all old references to Sqlite.Net), I tried it for several days, no issues found