Skip to content

Add abiFilters to android gradle templates to prevent serving on x86 devices #135173

@gmackall

Description

@gmackall

Original comment by @chinmaygarde

There are no x86 AOT builds supported by Flutter. To disable the application being served on devices those device, the abiFilters directive must be used to only specify the variants Flutter supports.

We should look in to adding such a validation check to the Flutter tools.

Context: #83596 (comment)

Edited based on comment from @christopherfujino, this should actually be done by adding abiFilters to our gradle templates: https://developer.android.com/ndk/guides/abis#gc

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: proposalA detailed proposal for a change to Flutterplatform-androidAndroid applications specificallyteam-androidOwned by Android platform teamtoolAffects the "flutter" command-line tool. See also t: labels.triaged-androidTriaged by Android platform team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions