The Wayback Machine - https://web.archive.org/web/20201130062704/https://github.com/londonappbrewery/Flutter-Course-Resources/issues/35
Skip to content
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

No file or variants found for asset: images/diamond.png #35

Open
Orlando00 opened this issue Aug 11, 2020 · 6 comments
Open

No file or variants found for asset: images/diamond.png #35

Orlando00 opened this issue Aug 11, 2020 · 6 comments

Comments

@Orlando00
Copy link

@Orlando00 Orlando00 commented Aug 11, 2020

I keep getting this error code. My indents look correct in YAML. Not sure what's going on. Thanks

Annotation 2020-08-11 095621

@Orlando00
Copy link
Author

@Orlando00 Orlando00 commented Aug 11, 2020

I went into YAML and changed it to :

assets:
- images/

That runs the app now but wont show the diamond.

I/flutter (12936): Unable to load asset: images/diamond.png

Is the error I'm getting.

@fvaladares
Copy link

@fvaladares fvaladares commented Aug 11, 2020

@Orlando00
Copy link
Author

@Orlando00 Orlando00 commented Aug 11, 2020

@Orlando00
Copy link
Author

@Orlando00 Orlando00 commented Aug 11, 2020

I got it to work. I exited out of Android Studios and brought back up and now it works lol

@fvaladares
Copy link

@fvaladares fvaladares commented Aug 14, 2020

@Scibud
Copy link

@Scibud Scibud commented Sep 8, 2020

Hi check this issue for clearing the doubts.

Indentation matters in Flutter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.