0

I have successfully set the App icon for the debug mode windows/runner/resources/app_icon.ico its working fine but when i run flutter build windows the exe file in the windows/build/runner/Release folder it comes with the flutter icon what should i do to build a release with custom icon

i just run flutter build windows to make my release

this is my app in debug mode its showing my custom icon

enter image description here

this is my app in release mode its not showing my custom icon

enter image description here

Frank van Puffelen
  • 565,676
  • 79
  • 828
  • 807
Zuher Abud Said
  • 635
  • 2
  • 9
  • 16
  • Have you tried these steps? https://stackoverflow.com/questions/64558578/how-to-change-desktop-windows-application-icon-for-flutter – Ezra Jun 28 '21 at 10:09
  • i clearly said its working fine in debug mode meaning the icon is set to my custom icon but the exe icon comes with the flutter logo – Zuher Abud Said Jun 28 '21 at 10:20
  • What steps did you already take to set the debug logo? – Ezra Jun 28 '21 at 10:22
  • 1
    i changed the `windows/runner/resources/app_icon.ico` to my custom icon – Zuher Abud Said Jun 28 '21 at 10:25
  • I have the exact same problem, debug builds have the correct icons, but release builds do not. Clearing cache did not help. Also, in task manager both the icon and the name are incorrect, again only in the release build, in debug all is as expected – Luís Cunha Jul 16 '21 at 00:34
  • do flutter clean and restart pc – Zuher Abud Said Jul 26 '21 at 22:41

1 Answers1

0

You can use package - https://pub.dev/packages/flutter_launcher_icons

For configure & more details refer this - Flutter app cannot be uploaded to Microsoft Store

Ashvin
  • 8,227
  • 3
  • 36
  • 53