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
2.02k stars 405 forks source link

Android images generated succesfully but the app show the default android launcher icon #607

Open houssam15 opened 1 month ago

houssam15 commented 1 month ago

https://github.com/houssam15/easy_charge/issues/2

moshkla commented 1 month ago

delete file : android/app/src/main/res/mipmap-anydpi-v26/${androidIconName}.xml file after running generating to solve this issue.

mfarooqone commented 1 month ago

delete file : android/app/src/main/res/mipmap-anydpi-v26/${androidIconName}.xml file after running generating to solve this issue.

Thanks

imhj commented 1 month ago

Thanks for your help. After delete this xml file i work normally. I hope this problem will be fix.

HumanBot000 commented 1 month ago

delete file : android/app/src/main/res/mipmap-anydpi-v26/${androidIconName}.xml file after running generating to solve this issue.

This worked for a placeholder image for me, but after converting my real image with https://icon.kitchen/ the issue reappeared.

IMG_20241016_142935

HumanBot000 commented 1 month ago

IconKitchen-Output (2).zip

flutter_launcher_icons:
  android: "launcher_icon"
  ios: true
  image_path: "assets/icons/android/res/mipmap-hdpi/ic_launcher.png"
  min_sdk_android: 21 # android min sdk min:16, default 21
  web:
    generate: true
    image_path: "assets/icons/web/icon-192.png"
    background_color: "#00C853FF"
    theme_color: "#00C853FF"
  windows:
    generate: true
    image_path: "assets/icons/web/icon-192.png"
    icon_size: 192 # min:48, max:256, default: 48
  macos:
    generate: true
    image_path: "assets/icons/web/icon-192.png"
  flutter_launcher_icons: ^0.13.1
HumanBot000 commented 1 month ago

Actually I got it working 5 hours before my project deadline. I also had to delete. I don't know what really happend or what I did, but after deleting the file and building 5 times, without any changes it suddently worked. Thank you <3

Ibrohimov-Abdullah commented 3 weeks ago

thank youu alll guysss!!!!

I really appriciate you all!!!!

delete file : android/app/src/main/res/mipmap-anydpi-v26/${androidIconName}.xml file after running generating to solve this issue.

mdigruber commented 1 week ago

Happened to me too, also the Device turned into Standby Mode.