-
Notifications
You must be signed in to change notification settings - Fork 28.6k
Deprecate support for ia32 #157543
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
… target (#159847) This pull request is created by [automatic cherry pick workflow](https://github.com/flutter/flutter/blob/main/docs/releases/Flutter-Cherrypick-Process.md#automatically-creates-a-cherry-pick-request) Please fill in the form below, and a flutter domain expert will evaluate this cherry pick request. ### Issue Link: What is the link to the issue this cherry-pick is addressing? #157543 ### Changelog Description: Explain this cherry pick in one line that is accessible to most Flutter developers. See [best practices](https://github.com/flutter/flutter/blob/main/docs/releases/Hotfix-Documentation-Best-Practices.md) for examples Add deprecation notice for Android x86 support, which will be removed in next stable release after 3.27. ### Impact Description: What is the impact (ex. visual jank on Samsung phones, app crash, cannot ship an iOS app)? Does it impact development (ex. flutter doctor crashes when Android Studio is installed), or the shipping production app (the app crashes on launch) A deprecation notice will be printed when users build or run an x86 Android application. ### Workaround: Is there a workaround for this issue? No, this is simply a deprecation notice. ### Risk: What is the risk level of this cherry-pick? - [X] Low - [ ] Medium - [ ] High ### Test Coverage: Are you confident that your fix is well-tested by automated tests? - [X] Yes - [ ] No ### Validation Steps: What are the steps to validate that this fix works? Run `flutter build apk --target-platform=android-x86` and observe a deprecation notice is printed. Co-authored-by: Ben Konyi <bkonyi@google.com>
Hi, if I may ask, why deprecate x86 tho |
x86 has always been a maintenance burden for the Dart VM and is the only architecture that doesn't support our ahead-of-time (AOT) compilation pipeline (partly due to the limited number of CPU registers which would prevent a lot of code being shared between the implementations for other architectures) that Flutter uses for release quality builds. Given that x86 is becoming less and less common, especially for Android devices, the install base is small enough that it's no longer worth maintaining. |
fair enough. Thank you flutter and flutter team :)
…On Mon, Feb 10, 2025 at 5:02 PM Ben Konyi ***@***.***> wrote:
Hi, if I may ask, why deprecate x86 tho
x86 has always been a maintenance burden for the Dart VM and is the only
architecture that doesn't support our ahead-of-time (AOT) compilation
pipeline (partly due to the limited number of CPU registers which would
prevent a lot of code being shared between the implementations for other
architectures) that Flutter uses for release quality builds. Given that x86
is becoming less and less common, especially for Android devices, the
install base is small enough that it's no longer worth maintaining.
—
Reply to this email directly, view it on GitHub
<#157543 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A3ZDBO4CLM3KI456JHZGVFL2PDESLAVCNFSM6AAAAABQRWB3O6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNBYGUYDEMJUHA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Support for Android x86 targets will be removed in the next stable release after 3.27. See #157543 for details. FAILURE: Build failed with an exception.
BUILD FAILED in 16s |
strangely exactly the same message is displayed on 3.29.0
This is very confusing as 3.29 is the next stable release after 3.27. |
The removal was delayed, so that message is no longer correct and should be updated. I'll create a PR that patches this and I'll try and get it cherry picked into the current stable to reduce confusion. @a-siva can you confirm that we're still on track to remove IA32 support for the next stable? |
Can i add that testing in an development VM (libvirt and virt-manager) the emulator is unusably slow (because of the nested virtualization). Hence the usefulness of the androidx86 image VM which Flutter readily recognizes over network. Maybe someone has another suggestion. Is there a VM compatible image of an emulator? (Flutter is the best, btw, even though I prefer python, plyer and others could not get the native stt working) |
This comment has been minimized.
This comment has been minimized.
The warning is still present in the 3.29.x versions. I think it will probably be removed in 3.30, maybe. I’m sharing the snippet that removes the warning: This is occurring because of the x86 (32-bit) architecture. flutter build apk --target-platform=android-arm,android-arm64,android-x64 --split-per-abi |
Does this mean I can no longer use emulators to debug Flutter applications on amd64 and x86 PCs?
|
x86_64 is still fine. I had this same concern until I realized that for some reason the Android emulator was using an image for x86 (32) |
How this going to affect emulators on x86 machines? |
i have this problem when run andoid |
This misleading message is still displayed in 3.32.0-0.4.pre and also in latest main
If removal is delayed, please update the message or if architecture is removed, remove the message. |
Uh oh!
There was an error while loading. Please reload this page.
Dart is considering dropping support for ia32, please see dart-lang/sdk#49969 for more context.
This issue is to ensure Flutter goes through a deprecation process before removing support for ia32.
List of items to consider
//cc @bkonyi
The text was updated successfully, but these errors were encountered: