Skip to content

❓ Update native .so files to support 16 KB page size alignment for Android 15+ devices [Deadline- November 1st, 2025] #1837

@IMRISHABH08

Description

@IMRISHABH08

❓ Add Support for 16 KB Page Size for Android 15+ devices

  • While verifying the alignment between our Flutter app and the native dependencies (.so files) for the 16KB Page Size update, we’ve identified an issue with the native libararies bundled in hmssdk_flutter.
  • When inspecting the .so files in the generated .aab with your SDK(latest: 1.10.6), we found that several native libraries are built with a Page size 0x1000 = 2¹² (4 KB) instead 0x4000 = 2¹⁴ (~16 KB). This mismatch is preventing our Flutter app from fully supporting the 16KB page size requirement.

- UNALIGNED .so files from hmssdk_flutter where Page Size 0x1000 = 2¹² (4 KB)

  • armeabi-v7a, arm64-v8a, and x86_64
.so files UNALIGNED ELF .aar & .so file mapping
libyuv.so
libjingle_peerconnection_so.so
libkrisp-audio-sdk.so
  • Script to check ELF Alignment

  • Solution

  • For detailed mapping b/w .aar and .so files run this command from your home directory(MacOS).
    cd ~/.gradle/caches/modules-2/files-2.1 find . -name "*.aar" -exec sh -c 'echo {}; unzip -l "{}" | grep "\.so"' \;

  • hmssdk_flutter: 1.10.6

  • Flutter (Channel stable, 3.27.3, on macOS 15.1.1 24B91 darwin-arm64, locale en-IN)
    • Flutter version 3.27.3 on channel stable
    • Dart version 3.6.1
    • DevTools version 2.40.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    question❓ Question or Support Request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions