
any one have solution to this problem i am running flutter pub run flutter_launcher_icons:main and it is not working for me

any one have solution to this problem i am running flutter pub run flutter_launcher_icons:main and it is not working for me
Your pubspec.yaml should be like this:
dev_dependencies:
flutter_launcher_icons: "^0.9.2"
flutter_icons:
android: "launcher_icon"
ios: true
image_path: "assets/icon/icon.png"
Notice where
flutter_launcher_iconswas used and whereflutter_iconswas used.
I just solved the same error you have, and it was something so simple that many of us do not realize it sometimes.
if you facing this problem
ā ERROR: NoConfigFoundException
Check that your config file flutter_launcher_icons.yaml has a flutter_icons section
try this
uninstall the app from the phone or emulator
Go To Power Shell and run as Administrator
cd ( your project path )
flutter pub get
flutter pub run flutter_launcher_icons:main
flutter run