Question Details

No question body available.

Tags

android flutter gradle android-ndk 16kb-page-size

Answers (2)

September 10, 2025 Score: 1 Rep: 724 Quality: Low Completeness: 70%

It's required ndk r28 or newer to compile 16KB by default
https://developer.android.com/guide/practices/page-sizes?authuser=2#compile-r28

I do not sure. Did you have to update some lib or not. Because I using image_picker 1.1.2 But I can build on Pre-Release 16KB ARM SDK and APK Analyzer also 16KB Alignment
Update
After I try many thing I have to update my answer. We have to update some lib If you using VSCode It have extension call Version Lens can help you which lib have new version and you have to looking for is lib that have platform code
enter image description here

September 9, 2025 Score: 0 Rep: 31 Quality: Low Completeness: 60%

This worked for me. I updated my dependencies and now all my .so files display 16KB alignment with the APK analyzer.

Updated dependencies:

- imagepicker : 1.1.21.2.0

- sqlite3: ^2.9.0

- camera: 0.11.0+20.11.2

Downgraded for compatibility:

- sqlite3flutterlibs : 0.5.320.5.24

- cameraandroidcamerax: 0.6.12+10.6.10+3

Note: For sqlite3flutterlibs and cameraandroid_camerax, I had to downgrade to resolve compatibility issues with my current Flutter/NDK setup.

Important: When adjusting versions, ensure compatibility between your package versions, NDK version, and Flutter version. Test thoroughly after each change.