Closed bipinvaylu closed 4 years ago
running into the same error
Try to build with --no-tree-shake-icons. It works for me
flutter build apk --no-tree-shake-icons
Thanks @SonicRoshan, But what does this --no-tree-shake-icons
means? Do you have any related link So i can know what is the effect of this on released build?
@bipinvaylu Thank you for your issue.
Originally this has to do with a Breaking Change in Flutter Framework for profile + release builds.
the option: --tree-shake-icons is set by default now and minimizes the apps build-size if an app uses material-design icons.
You can use --no-tree-shake-icons. For further informations see: https://github.com/flutter/flutter/issues/16311
Closing this issue for now, but feel free to reopen, if you encounter any further issues :).
Best regards.
Hi, can someone please tell me how i can specify the --no-tree-shake-icons in Xcode so I can build an iOS archive release for TestFlight.
I need to generate icons based on dynamic hexcodes, so returning a const is not an option for me, hence my Xcode build process is now failing (since upgrading to flutter v1.20).
Many thanks
Hi, can someone please tell me how i can specify the --no-tree-shake-icons in Xcode so I can build an iOS archive release for TestFlight.
I need to generate icons based on dynamic hexcodes, so returning a const is not an option for me, hence my Xcode build process is now failing (since upgrading to flutter v1.20).
Many thanks
Use: flutter build ios --release --no-tree-shake-icons
Same issue when trying to build APK. Any real solution other than --no-tree-shake-icons?
I did not use any icons in my app but still, I get this error. What could be causing this error?
Thanks for this awesome library. I am using latest version of this library, But somehow I can't able to create release apk.
Please find logs here:
Please let me know if you want any other details.