Skip to content

Explicitly set ndkVersion to Flutter's#247

Merged
HamdaanAliQuatil merged 1 commit intogoogle:masterfrom
emersion:set-ndk-version
Feb 10, 2026
Merged

Explicitly set ndkVersion to Flutter's#247
HamdaanAliQuatil merged 1 commit intogoogle:masterfrom
emersion:set-ndk-version

Conversation

@emersion
Copy link
Contributor

@emersion emersion commented Jan 27, 2026

Without this, webcrypto.dart uses AGP's default NDK version, which can be different from Flutter's preferred NDK version. Apart from causing builds to download multiple NDKs needlessly, this also causes APKs to not use 16 KB page sizes.

Tested by building an APK and opening it in Android Studio's APK analyzer.

Closes: #239

Without this, webcrypto.dart uses AGP's default NDK version, which
can be different from Flutter's preferred NDK version. Apart from
causing builds to download multiple NDKs needlessly, this also
causes APKs to not use 16 KB page sizes.

Tested by building an APK and opening it in Android Studio's APK
analyzer.
@delthas
Copy link

delthas commented Jan 27, 2026

I was actually writing the same patch but you were first 😛

Copy link
Collaborator

@HamdaanAliQuatil HamdaanAliQuatil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for this 🚀

delthas added a commit to irctoday/goguma that referenced this pull request Feb 8, 2026
@HamdaanAliQuatil HamdaanAliQuatil merged commit dcc7ba7 into google:master Feb 10, 2026
12 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Current version 0.6.0 is not compatible with 16 KB memory page

4 participants