Issue
My Flutter app failed to build and it shows error "No file or variants found for assets/translation".
My pubsec.yaml as follows
assets:
- assets/
- assets/translations
Kindly help me fix . thank you
Solution
I found the error after some research that I was missing "/" at the end of the entry in pubsec.yaml file.
please see the screen shot below for the corrected code
assets:
- assets/
- assets/translations/
Answered By - Sulfy
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.