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

difficulty in playing multiple sounds #22

Open
harshrocks opened this issue Jan 10, 2021 · 1 comment
Open

difficulty in playing multiple sounds #22

harshrocks opened this issue Jan 10, 2021 · 1 comment

Comments

@harshrocks
Copy link

The UI is working fine but an error comes whenever I press the button.

E/flutter (15820): [ERROR:flutter/lib/ui/ui_dart_state.cc(177)] Unhandled Exception: Unable to load asset: assets/1.wav
Screenshot (18)

Here's the code

Actually I copied and pasted the code from one of the projects to see whether some problem is there in my code.
Screenshot (19)

Here's the pubspec
Screenshot (20)

Please help, I am stuck here and I don't want to go on further before busting this error.
Please help!!!

@geovrisco
Copy link

Hiya did you find the solution yet? there is typo in your code, instead using the $soundNumber.wav you should change the extension in your assets folder to *.wav not the *.WAV, you should change either in your dart files or your audio filename

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants