-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
[Flutter 3][Deferred Components] Building an appbundle fails #110101
Comments
Hi @enricoi, thanks for filing the issue. Please provide the complete log of Please also provide a complete minimal reproducible code sample. Thank you |
Hi @danagbemava-nc, https://github.com/enricoi/build_test Here the complete log of flutter build appbundle -v Thank you |
I can reproduce the build failing with the sample project linked above. On stable, with one of the "trouble" dependencies in the pubspec.yaml (video_player in this case), I see a crash that looks like it's coming from dart, similar to what is reported in #110101 (comment). If I remove the video_player dependency, I get a different crash. On master, with or without the video_player dependency, I still get a crash. The crash is similar to what I get on stable with the video_player dependency removed. Interestingly, I cloned I also attempted to build the same project on flutter 2.10.5, but it also failed to build Labeling for further investigation from the team. dependencies I have in flutter_gallerydependencies:
adaptive_breakpoints: ^0.1.1
animations: ^2.0.2
collection: ^1.16.0
cupertino_icons: ^1.0.4
dual_screen: ^1.0.3
flutter:
sdk: flutter
flutter_gallery_assets: ^1.0.2
flutter_localizations:
sdk: flutter
flutter_localized_locales: ^2.0.3
flutter_staggered_grid_view: ^0.6.1
google_fonts: ^2.3.2
google_sign_in: ^5.4.1
in_app_review: ^2.0.4
intl: ^0.17.0
just_audio: ^0.9.28
meta: ^1.7.0
package_info_plus: ^1.4.2
provider: ^6.0.2
rally_assets: ^3.0.1
scoped_model: ^2.0.0-nullsafety.0
shared_preferences: ^2.0.15
shrine_images: ^2.0.1
url_launcher: ^6.1.5
vector_math: ^2.1.2
video_player: ^2.4.7 flutter doctor -v
|
Likely related to the deferred libraries implementation in AOT mode. /cc @rmacnak-google |
The build succeeded for me at tip-of-tree.
|
The issue was gone for us since Flutter 3.1.0, but showed up again in Flutter 3.13.0. |
//cc @rmacnak-google looks like we have regression again with deferred loading between Flutter 3.13.0 and 3.1.0 |
This issue is assigned to @rmacnak-google but has had no recent status updates. Please consider unassigning this issue if it is not going to be addressed in the near future. This allows people to have a clearer picture of what work is actually planned. Thanks! |
Can't build appbundle with flutter 3. It works without any issue on previous flutter 2.10.5.
It gives me error if I use deferred components and at the same time use even just one of these packages:
If alternatively I exclude deferred components or these packages build complete successfully.
This is the complete list of other packages that I use without any issue:
This is the error on
flutter build appbundle
:logs
flutter doctor -v
The text was updated successfully, but these errors were encountered: