-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
Android release build failing due to some tree shake icon issue #9
Comments
running into the same error |
Try to build with --no-tree-shake-icons. It works for me |
Thanks @SonicRoshan, But what does this |
@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: flutter/flutter#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 |
Use: |
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.
The text was updated successfully, but these errors were encountered: