Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SQLite to support 16KB aligment #1263

Open
pictos opened this issue Dec 13, 2024 · 2 comments · May be fixed by #1268
Open

Update SQLite to support 16KB aligment #1263

pictos opened this issue Dec 13, 2024 · 2 comments · May be fixed by #1268

Comments

@pictos
Copy link

pictos commented Dec 13, 2024

Hello @praeclarum, hope that you're doing good!

While building my .NET Maui app (.net 9) I found this warning on log

C:\Program Files\dotnet\packs\Microsoft.Android.Sdk.Windows\35.0.24\tools\Xamarin.Android.Common.targets(2192,2): warning XA0141: NuGet package '' version '' contains a shared library 'libe_sqlite3.so' which is not correctly aligned. See https://developer.android.com/guide/practices/page-sizes for more details

I'm not sure if this will cause any issue in production or if this must be updated to support it and also, I'm not sure if the work should be done on this repo, anyway here's a reference on the fix that was made by SkiaSharp

@dartasen
Copy link

dartasen commented Feb 4, 2025

https://github.com/ericsink/SQLitePCL.raw/releases/tag/v2.1.10

Note that SQLitePCL is already updated for this behavior, so I suspect this should be a package bump to solve this issue

@phillippschmedt
Copy link

Package bump alone does not solve the issue. It will remove the warning but the database will not open on an device that has 16kb enabled. See my bug report here: ericsink/SQLitePCL.raw#621

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants