Skip to content

[Android]: BREAKING - Native Android build fails 16 KB page size check due to bundled Linux assets (xclip) #2643

@Egilan

Description

@Egilan

Have you checked for an existing issue?

Flutter Quill Version

11.4.2

Steps to Reproduce

  1. Create a new Flutter project (flutter create new_project)
  2. Add flutter_quill: ^11.4.2 to pubspec,
  3. Run flutter pub get.
  4. Run the android.app from Android Studio (not main.dart!)

Expected results

Obviously "no warning".
But flutter run or flutter build apk --release don't raise this warning. - But this is just another "bug" probably, or something that I don't yet understand about development. So the issue is still there, just no warning.

Actual results

A pop up in the right bottom corner:

APK app-debug.apk is not compatible with 16 KB devices. Some libraries have LOAD segments not aligned at 16 KB boundaries:
assets/flutter_assets/packages/quill_native_bridge_linux/assets/xclip
Starting November 1st, 2025, all new apps and updates to existing apps submitted to Google Play and targeting Android 15+ devices must support 16 KB page sizes. For more information about compatibility with 16 KB devices, visit developer.android.com/16kb-page-size.

Additional Context

EDIT: This IS a major issue - flutter build does similarly include it in the final APK:
build\app\outputs\apk\debug\app-debug.apk\assets\flutter_assets\packages\quill_native_bridge_linux\assets\xclip

So this WILL cause issues for ALL Android builds.

(((This was wrong: This doesn't seem like a major issue, since flutter build seems to work just fine.)))

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions