-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Description
When I run flutter build apk --debug using the main/master channel, I get the following warning:
$ flutter build apk --debug
Support for Android x86 targets will be removed in the next stable release after 3.27.
See https://github.com/flutter/flutter/issues/157543 for details.
Running Gradle task 'assembleDebug'... 3.2s
✓ Built build/app/outputs/flutter-apk/app-debug.apk
I don't mind that support for those targets is going away. But now that I've seen the warning, I would like to get it to stop.
(In general I try to keep my tree in a state where we don't have noise from warnings we're not planning to take any action on, so that when a new warning appears we can see it and take care of it.)
The warning text doesn't offer a way to acknowledge the warning so as to get it to stop. I don't see such a way on the linked page #157543, either.
It looks like the warning is from #158953 / #159750. I suppose one good way to silence it would be to stop building for x86. Is there a clean way to do that by editing my build.gradle?
If there is a good clean answer already for how to suppress the warning, then that should be added to #157543, since that's the page linked to from the warning.
(I'm starting this fresh issue rather than comment on #157543 just because I don't want discussion to clutter up the thread people will see when following the link from the warning.)