Repository navigation
Stocks example: 404 on resolving image assets #7
Description
Activity
- changed the title
[-]SkyExample.apk 404 on resolving image assets[/-][+]Stocks example: 404 on resolving image assets[/+]on May 1, 2015 I noticed that the path mentioned in terminal is not the same as path of the resource:
packages/sky/lib/assets/material-design-icons/navigation/2x-web
Versus
/packages/sky/assets/material-design-icons/navigation/2x-web
@eseidelGoogle: Would you be willing to take a look at this on issue?
You might want to try running this script: https://github.com/domokit/sky_sdk/blob/master/packages/sky/lib/download_material_design_icons
To be sure I did a new test today:
- clean git clone of sky sdk
- took the steps from README.md to get the stocks example running
- noticed that the icons were missing
- invoked the script @abarth mentioned
- removed and clean installed the application
I'm seeing this output:
When verifying the path I'm seeing no files in the assets folder:
Hi, sorry my team has been out of the office since the summit.
As adam mentioned, there is a script included with the pub package which should download these icons for you. For example:
cd examples/stocks
pub get
./packages/sky/download_material_design_icons
./packages/sky/sky_tool startShould start it with all the icons there.
We've addressed this issue by introducing an FLX file that contains all the assets your app needs.
- added a commit that references this issue
on Apr 20, 2018 - added a commit that references this issue
on May 14, 2018 - added a commit that references this issue
on Mar 21, 2019 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.- locked as resolved and limited conversation to collaborators
on Sep 7, 2021 - added a commit that references this issue
on May 7, 2026


When running the sample application, material icons seem to be missing from the UI
Verifying the output in the terminal, I noticed the lines with a 404 code:
I went to check the mentioned paths and they were indeed non-exisitent. I stumbled on this python script to download the assets. In the screenshot below you can see the result after execution:
Running the application and remove/reinstalling the application resulted in the same 404 messages.