Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

How to use SQLite in a Shared Project for Android 8.0 (API Level 26)?

$
0
0

For over a year now I've been using the SQLite.cs and SQLiteAsync.cs classes in my xamarin.forms shared project with no issues. Note that I just have these two classes in my project, I don't have any SQLite nugets installed, since they all seem to be for PCL projects. However, Google now requires all Play Store apps to target at least API level 26. Setting the target to 26 in my project causes this well documented error:

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

How can I fix this for a Shared Project? All the solutions to this problem seem to be focussed on PCL projects.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>