You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently flutter build aot is designed with a large number of configurations to support integration into the iOS and Android build scripts. Now that this dependency is being removed, it will no longer be used by anything within the flutter tree.
In the future, I would like it to be available for arbitrary 3rd party embedders to use, though that will require some significant refactoring.
In the meantime, I propose we delete the existing functionality and leave a placeholder.
I'm not sure what you were using this feature for but I think the point is that you no longer need it.
Android: flutter build apk
iOS: flutter build ios
web: flutter build web
I also used it on CI to verify the dart code is compiling regardless on which platform it gets executed. I replaced it with flutter build web when supported because it builds the fastest. Still slower than oat.
Are the dart compilation errors I'm getting from apk and web 100% identical? (I think so because of the CFE)
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.
Activity
zanderso commentedon Jan 27, 2020
Can you link any issues here for work on removing
flutter build aotfrom the iOS and Android build scripts?jonahwilliams commentedon Jan 27, 2020
iOS was moved to assemble in #49224
Android was moved to assemble in #43282
Android was later refactored into 100% assemble via https://github.com/flutter/flutter/pull/44534/files
jmagman commentedon Oct 30, 2020
Once b/172093077 is resolved
flutter build aotcan be removed.jmagman commentedon Nov 20, 2020
Golem no longer uses
flutter build aot.rrousselGit commentedon Jan 14, 2021
👋
Now that
flutter build aotwas removed, what is the alternative solution?Levi-Lesches commentedon Jan 14, 2021
I'm not sure what you were using this feature for but I think the point is that you no longer need it.
Android:
flutter build apkiOS:
flutter build iosweb:
flutter build webWere you using it in another context?
replace `flutter build aot` with `flutter build apk`
rrousselGit commentedon Jan 14, 2021
https://github.com/FirebaseExtended/flutterfire used it as a mean to test that the examples compile as a CI step.
flutter build apkworks but is significantly slowerpasssy commentedon Mar 9, 2021
I also used it on CI to verify the dart code is compiling regardless on which platform it gets executed. I replaced it with
flutter build webwhen supported because it builds the fastest. Still slower thanoat.Are the dart compilation errors I'm getting from
apkandweb100% identical? (I think so because of the CFE)pigking12345 commentedon Mar 25, 2021
Please update this doc: https://github.com/flutter/flutter/wiki/Custom-Flutter-Engine-Embedding-in-AOT-Mode
build aotis still used in it.jmagman commentedon Mar 30, 2021
@pigking12345 I created #79320. Generally no one monitors closed issues. Thanks for noticing it!
github-actions commentedon Aug 3, 2021
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.