Skip to content

[BUG] libgojni.so 4 KB alignment error on Android 15 #90

@minhpham2302

Description

@minhpham2302

OpenIM Server Version

3.8.3-patch.10.3

Operating System and CPU Architecture

macOS (ARM)

Deployment Method

Source Code Deployment

Bug Description and Steps to Reproduce

The current version of the SDK contains a native library libgojni.so (built with Go) that is aligned to 4 KB. This causes a rejection on Google Play Console when targeting Android 15 (API 35/36), as Google now strictly requires 16 KB page alignment for all native shared libraries.

Integrate @openim/rn-client-sdk into a React Native project.

Set targetSdkVersion to 35 or 36 in build.gradle.

Build a Release AAB (App Bundle).

Upload to Google Play Console.

Google Play rejects the build with the error: "4 KB LOAD section alignment, but 16 KB is required" for libgojni.so.

Screenshots Link

No response

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