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
We need a better system for determining which assets to include in your FLX. At a minimum, we could make this configurable in the flutter.yaml file. In the best case, we'd have a way to automatically detect which assets you needed by statically analyzing your code (e.g., by having a constant for each asset and applying tree shaking).
Comment by IvBaranov Friday Nov 06, 2015 at 16:33 GMT
I am not sure I should start new issue so:
Demo project my_app prints: [WARNING:asset_bundle_impl.cc(45)] Requested asset 'content/drawable-xxhdpi/ic_add_white_24dp.png' does not exist.
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
FlutterIssues commentedon Nov 9, 2015
Tuesday Oct 27, 2015 at 04:04 GMT
I think you can just add these sizes to this line of code:
https://github.com/flutter/tools/blob/master/lib/src/commands/build.dart#L20
We need a better system for determining which assets to include in your FLX. At a minimum, we could make this configurable in the
flutter.yamlfile. In the best case, we'd have a way to automatically detect which assets you needed by statically analyzing your code (e.g., by having a constant for each asset and applying tree shaking).FlutterIssues commentedon Nov 9, 2015
Friday Nov 06, 2015 at 16:33 GMT
I am not sure I should start new issue so:
Demo project my_app prints:
[WARNING:asset_bundle_impl.cc(45)] Requested asset 'content/drawable-xxhdpi/ic_add_white_24dp.png' does not exist.abarth commentedon Nov 17, 2015
Adding all the sizes makes the stocks FLX about 50KB bigger. Probably the right trade-off for now.
Add all the icon sizes to the FLX
github-actions commentedon Aug 17, 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.