Skip to content

[Bug]: App freezes on Android 15+ due to libe_sqlite3.so 4 KB page size (Akavache.Sqlite3) #1128

@leapse

Description

@leapse

Describe the bug 🐞

Description
When initializing Akavache in a .NET MAUI app targeting .NET 9, the application hangs on the splash screen on Android 15 (API 34) and newer.

This appears to be related to the native SQLite library included with Akavache (libe_sqlite3.so) still being built with a 4 KB page size, while Android 15+ requires 16 KB page sizes for shared libraries.

Error:
XA0141: Android 16 will require 16 KB page sizes, shared library 'libe_sqlite3.so' does not have a 16 KB page size.

Step to reproduce

  1. Create a new .NET MAUI app targeting Android 34+.
  2. Add Akavache 11.x and initialize it in App.xaml.cs:
  3. Akavache.Registrations.Start("AppName");
    
  4. Build and deploy to an Android 15 device or emulator.
  5. App hangs on the splash screen.
    

Expected behavior

App should initialize Akavache and load normally.

Actual Behavior
App freezes on startup with out a crash

Screenshots 🖼️

No response

IDE

No response

Operating system

No response

Version

No response

Device

No response

ReactiveUI Version

No response

Additional information ℹ️

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions