fluttercommunity / flutter_launcher_icons

Flutter Launcher Icons - A package which simplifies the task of updating your Flutter app's launcher icon. Fully flexible, allowing you to choose what platform you wish to update the launcher icon for and if you want, the option to keep your old launcher icon in case you want to revert back sometime in the future. Maintainer: @MarkOSullivan94
https://pub.dev/packages/flutter_launcher_icons
MIT License
1.99k stars 396 forks source link

I'm having a problem change my launcher icon. #583

Closed Ebenezerkifle closed 1 day ago

Ebenezerkifle commented 3 days ago

:information_source: Info

flutter_launcher_icons: ^0.13.1

:speech_balloon: Description

Building package executable... Built flutter_launcher_icons:flutter_launcher_icons. ════════════════════════════════════════════ FLUTTER LAUNCHER ICONS (v0.13.1)
════════════════════════════════════════════

• Creating default icons Android

✕ Could not generate launcher icons PathNotFoundException: Cannot open file, path = 'assets/icon/icon.png' (OS Error: No such file or directory, errno = 2)

:scroll: Pubspec.yaml

flutter_launcher_icons:
  android: "launcher_icon"
  ios: true
  image_path: "assets/image/logo_icon.jpg"
  remove_alpha_ios: true
KaranChoudhary8 commented 2 days ago

Same Problem for mw as well

bmahuvi commented 2 days ago

Same here. Command dart run flutter_launcher_icons executes successfully but no change in app.

krian-kk commented 2 days ago

Facing same issue here

Verbruik commented 2 days ago

try dart run flutter_launcher_icons -f pubspec.yaml. It worked for me :-)

kartik-cotgin commented 2 days ago

try dart run flutter_launcher_icons -f pubspec.yaml. It worked for me :-)

Thanks @Verbruik, appreciate a lot. Worked like a charm for me.

gcgplay commented 2 days ago

Same error here

MostafaMorsy01 commented 2 days ago

I have tried new version 0.14.1 but still have this issue!!

Ebenezerkifle commented 1 day ago

try dart run flutter_launcher_icons -f pubspec.yaml. It worked for me :-)

Thank you @Verbruik this worked for me. I didn't even took time!

Ebenezerkifle commented 1 day ago

dart run flutter_launcher_icons -f pubspec.yaml

Anyone having trouble changing launcher icons using flutter_launcher_icons can use the above command to override and generate a new one. Thanks to @Verbruik