Skip to content

lib version not support 16kb pages in androidΒ #239

@grkawa

Description

@grkawa

Issue:
We're using libliquidcore.so (from com.github.liquidplayer:LiquidCore:0.6.0) in our Android project.
We're targeting SDK 35+ and need to support devices that require 16 KB page size alignment for native libraries. After inspecting the .so file with readelf, we found that the memory segments are aligned to 4 KB (0x1000) instead of 16 KB (0x4000). This triggers the Android lint warning: "Only 4 KB page compatible".
Question:
Is there an officially supported build of libliquidcore.so with 16 KB page size alignment?
If not, is there a build flag or configuration to compile LiquidCore with 16 KB alignment for Android?
Info:
LiquidCore version: 0.6.0
Target ABI: x86_64, arm64-v8a
Min SDK: 23
NDK: r25+

We would appreciate any guidance or plans for supporting 16 KB alignment to ensure compatibility with future Android devices.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions