Skip to content

[Bug]: Android 16 KB page size compatibility #1523

@szechyjs

Description

@szechyjs

Required Reading

  • Confirmed

Plugin Version

4.16.11

Flutter Doctor

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.32.5, on macOS 15.5 24F74 darwin-arm64, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK version 35.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 16.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2025.1)
[✓] VS Code (version 1.101.1)
[✓] Connected device (3 available)
[✓] Network resources

Mobile operating-system(s)

  • iOS
  • Android

Device Manufacturer(s) and Model(s)

All

Device operating-systems(s)

All

What happened?

Google Play will require all native code to have 16kb page sizes starting November 1st.

https://android-developers.googleblog.com/2025/05/prepare-play-apps-for-devices-with-16kb-page-size.html

Running their check script shows that libtslocationmanager.so is not compatible.

=== APK zip-alignment ===
36995072 lib/arm64-v8a/libflutter.so (OK)
77332480 lib/arm64-v8a/libimage_processing_util_jni.so (OK)
77365248 lib/arm64-v8a/libsqlite3.so (OK)
78786560 lib/arm64-v8a/libtslocationmanager.so (BAD - 12288)
83443712 lib/x86_64/libimage_processing_util_jni.so (OK)
83492864 lib/x86_64/libsqlite3.so (OK)
84967424 lib/x86_64/libtslocationmanager.so (OK)
Verification FAILED
=========================

Plugin Code and/or Config

N/A

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions