Skip to content

Icons won't load #300

Description

@nalkon

After creating basic app (either with Atom or with command line) content folder is missing. Even after adding it manually together with pngs (content/drawable-xxhdpi/ic_add_white_24dp.png), the icon still won't load.

Logcat warning:

[WARNING:asset_bundle_impl.cc(45)] Requested asset 'content/drawable-xxhdpi/ic_add_white_24dp.png' does not exist

The same applies to any other icon:
[WARNING:asset_bundle_impl.cc(45)] Requested asset 'action/drawable-xxhdpi/ic_search_white_24dp.png' does not exist.
[WARNING:asset_bundle_impl.cc(45)] Requested asset 'navigation/drawable-xxhdpi/ic_menu_white_24dp.png' does not exist.

My system:

Ubuntu 14.04
Nexus 5
Android 6.0

Activity

  1. abarth commented on Nov 12, 2015

    @abarth
    Contributor

    I think you need to add a flutter.yaml file. We don't document this very well, unfortunately. Take a look at the flutter.yaml in the Stocks example.

  2. sethladd commented on Nov 20, 2015

    @sethladd
    Contributor

    flutter.yaml is now in our tutorial. We can improve the docs for this, of course, and I'll open an issue for that over on our site.

    @nalkon if you're still not able to get icons to load after you added a flutter.yaml, please reopen this issue. Thanks for the report!

  3. github-actions commented on Sep 7, 2021

    @github-actions

    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.

  4. locked as resolved and limited conversation to collaborators on Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions