Skip to content

Support Android 14+ 16KB page size requirement for libOpenCvSharpExtern.so #9

@LosDavidos

Description

@LosDavidos

Issue:
Starting from Android 14 (API level 34), Google Play requires all native shared libraries (.so) to be built with a 16 KB memory page size (see Android documentation).

Currently, the libOpenCvSharpExtern.so shipped with Sdcb.OpenCvSharp4.mini.runtime.android-* packages is built with the default 4 KB page size, which triggers build-time warnings such as:

XA0141: Android 16 will require 16 KB page sizes, shared library 'libOpenCvSharpExtern.so' does not have a 16 KB page size. Please inform the authors of the NuGet package 'Sdcb.OpenCvSharp4.mini.runtime.android-arm64' version '4.11.0.35' which contains 'runtimes/linux-arm64/native/libOpenCvSharpExtern.so'. See https://developer.android.com/guide/practices/page-sizes for more details.

This will cause future apps to fail submission to Google Play and/or malfunction on devices with API 34+.

Request:
Please rebuild and republish the libOpenCvSharpExtern.so libraries for all relevant Android architectures with a 16 KB page size, as required by the latest Android platform rules.

References:

Thank you for maintaining this project!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions