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

Error when setting PNG for splash screen and running 'flutter pub run flutter_native_splash:create' #192

Closed
devrobbey opened this issue Jul 21, 2021 · 6 comments

Comments

@devrobbey
Copy link

Unhandled exception:
FileSystemException: Cannot copy file to 'web/splash/img/light-background.png', path = 'assets/background.png' (OS Error: No such file or directory, errno = 2)

Error was gone after creating an 'img' directory in web/splash.

[✓] Flutter (Channel master, 2.3.0-17.0.pre.411, on Mac OS X 10.15.6 19G2021 darwin-x64, locale en-GB)

@jonbhanson
Copy link
Owner

@devrobbey what version of this package are you using?

@devrobbey
Copy link
Author

devrobbey commented Jul 22, 2021 via email

@jonbhanson
Copy link
Owner

Was there a line number associated with this error?

@devrobbey
Copy link
Author

devrobbey commented Jul 22, 2021 via email

@jonbhanson
Copy link
Owner

Thanks, I think I tracked down the source of this error and the next update will fix it.

@devrobbey
Copy link
Author

Thanks for taking it into account that fast!! :)

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