Clarify Android ABI filtering guidance#13514
Merged
sfshaza2 merged 1 commit intoJun 18, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
Code Review
This pull request updates the documentation regarding Android ABI filtering in Flutter, advising developers to configure abiFilters in defaultConfig rather than buildTypes or productFlavors, and updating the flag usage to -Pdisable-abi-filtering=true. The feedback suggests using a nested ndk block in the Kotlin DSL code example to make it more idiomatic and readable.
reidbaker
approved these changes
Jun 17, 2026
6547f1a to
8ebd714
Compare
Member
|
/gcbrun |
Collaborator
|
Staged preview of the updated docs.flutter.dev site (updated for commit 8ebd714): https://flutter-docs-prod--docs-pr13514-docs-android-abi-filte-s2iuoknx.web.app |
Collaborator
|
Staged preview of the updated flutter.dev site (updated for commit 8ebd714): https://flutter-dev-230821--www-pr13514-docs-android-abi-filte-2yvdpns8.web.app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of what this PR is changing or adding, and why:
Updates the Android ABI filtering guidance to clarify when
-Pdisable-abi-filtering=trueis required.The docs now distinguish between ABI filters configured in
defaultConfig, which can be preserved automatically, and ABI filters configured underbuildTypesorproductFlavors, which require disabling Flutter's default ABI filtering.Issues fixed by this PR (if any):
Clarifies guidance discussed in flutter/flutter#188009.
PRs or commits this PR depends on (if any):
Related to flutter/flutter#177753 and flutter/flutter#181828.
Presubmit checklist