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

Could not find bin/flutter_launcher_icons.dart in package flutter_launcher_icons. #431

Closed
Kant0505 opened this issue Oct 21, 2022 · 4 comments

Comments

@Kant0505
Copy link

Kant0505 commented Oct 21, 2022

$ flutter pub run flutter_launcher_icons
Could not find bin/flutter_launcher_icons.dart in package flutter_launcher_icons.
pub finished with exit code 66

@Kant0505 Kant0505 changed the title [BUG] RangeError (index): Index out of range: index should be less than 4620: 4620 Could not find bin/flutter_launcher_icons.dart in package flutter_launcher_icons. Oct 21, 2022
@mikestichling
Copy link

mikestichling commented Oct 24, 2022

Have you tried

flutter pub get
flutter pub run flutter_launcher_icons:main

Notice the :main at the end of the second command. Ran into the same issue and found the following suggestion to work for me:

#211 (comment)

@husainazkas
Copy link

same issue but fixed after add :main end of the command. The readme.md was remove :main and this makes us confuse. As you can see in this commit 142a6a

@Elvisthomme
Copy link

same issue but fixed after add :main end of the command. The readme.md was remove :main and this makes us confuse. As you can see in this commit 142a6a

Thank you. It also works for me.

@MohaDevPro
Copy link

I set config in pubspec.yaml so I tried this below

flutter pub get
flutter pub run flutter_launcher_icons:main

but not work to me

then I tried this below and It's work

flutter pub get
flutter pub run flutter_launcher_icons:main - pubspec.yaml

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

6 participants