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

Update README.md #541

Closed
wants to merge 1 commit into from
Closed

Update README.md #541

wants to merge 1 commit into from

Conversation

kyl3r92
Copy link

@kyl3r92 kyl3r92 commented Feb 6, 2024

Changed "flutter_launcher_icons" to "flutter_icons" to fix broken example. The dependency should be "flutter_launcher_icons" (as is) but the paths need to be specified under "flutter_icons" (currently the example says "flutter_launcher_icons" which results in this error:

✗ ERROR: NoConfigFoundException
No configuration found in flutter_launcher_icons.yaml or in pubspec.yaml. In case file exists in different directory use --file option
#0 createIconsFromArguments (package:flutter_launcher_icons/main.dart:85:7)

but changing it to "flutter_icons" works:
Creating Icons for Web...
Creating Icons for Windows...
Creating Icons for MacOS...

✓ Successfully generated launcher icons

-> I actually had to google as the example wasn't working, but StackOverflow to the rescue:
https://stackoverflow.com/questions/69509861/check-that-your-config-file-flutter-launcher-icons-yaml-has-a-flutter-icons

Changed "flutter_launcher_icons" to "flutter_icons" to fix broken example. 
The dependency should be "flutter_launcher_icons" (as is) but the paths need to be specified under "flutter_icons" (currently the example says "flutter_launcher_icons" which results in this error:

✗ ERROR: NoConfigFoundException
No configuration found in flutter_launcher_icons.yaml or in pubspec.yaml. In case file exists in different directory use --file option
#0      createIconsFromArguments (package:flutter_launcher_icons/main.dart:85:7)


but changing it to "flutter_icons" works: 
Creating Icons for Web...
Creating Icons for Windows...
Creating Icons for MacOS...

✓ Successfully generated launcher icons
Copy link

@vanlooverenkoen vanlooverenkoen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

flutter_launcher_icons should be the new implementatioon. So not sure why you are removing this for the old implementation? #478

@MarkOSullivan94
Copy link
Collaborator

Version v0.13.1 and onwards will allow you to use flutter_launcher_icons in your config

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

Successfully merging this pull request may close these issues.

3 participants