1

I have been using the SQLite.cs and SQLiteAsync.cs classes in my Shared Poject for over a year without issue. However, Google now requires that you set Android projects with a target of at least 8.0 (26) when uploading apps to Google Play. Setting the target version to 26 is causing the SQLite.cs and SQLiteAsync.cs classes to no longer work in my app. Any SQLite operations result in the following error:

System.DllNotFoundException: /system/lib/libsqlite.so

The well-documented solution for this is to either set target to below 26 (no longer feasible), or to update the sqlite-net-pcl nuget, as per these posts:

Xamarin error System.DllNotFoundException: /system/lib/libsqlite.so on Android 7.0

System.DllNotFoundException: /system/lib/libsqlite.so- Xamarin Forms

However, this only applies to PCL projects. Does anyone know of a fix for Shared Projects?

2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.