ericsink / SQLitePCL.raw

A Portable Class Library (PCL) for low-level (raw) access to SQLite
Apache License 2.0
533 stars 109 forks source link

Android: Support 16 KB devices #603

Open utelle opened 2 months ago

utelle commented 2 months ago

A user of SQLite3 Multiple Ciphers (@tranb3r) opened an issue which is - most likely - related to SQLitePCL.raw:

When building an android app with .net9-pre7 (for android 15), I get this warning: C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\35.0.0-preview.7.41\tools\Xamarin.Android.Common.targets(2099,3): warning XA0141: NuGet package '<unknown>' version '<unknown>' contains a shared library **'libe_sqlite3mc.so'** which is not correctly aligned. See https://developer.android.com/guide/practices/page-sizes for more details

Could you please rebuild the lib for it work on 16kB devices, as explained in the linked page?

Maybe the compile and build process in ericsink/cb needs to be adjusted to support this use case.

tranb3r commented 2 months ago

Indeed I'm using SQLitePCLRaw.bundle_e_sqlite3mc

ericsink commented 1 month ago

Hopefully this was fixed in 2.1.10, which was released today.