Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

app Icon not changed in *Task Menu* in flutter?

I have successfully changed the App Icon for the App by replacing the file with the files I downloaded from here.

Its working fine in the Menu with logo and name as expected. but the icon is not changed in the Task Menu.enter image description here

And in the Menu its fine though.enter image description here

I replaced [mipmap-hdpi, mipmap-mdpi, mipmap-xhdpi, mipmap-xxhdpi, mipmap-xxxxhdpi] folders with new ones in the android->app->src->main->res path of my project.

Any help will be highly appreciated.

like image 427
Yogesh kataria Avatar asked Jul 19 '18 10:07

Yogesh kataria


People also ask

How do I change the default app icon in flutter?

Let's first add the package to pubspec. yaml . Then all you need to do is give your icon path as it is shown and that's all. You can give different paths for Android and IOS as well.

Why icons are not showing in flutter?

Solved: Flutter Font Awesome Icons Not ShowingStopping the app. Running flutter clean in your app directory. Deleting the app from your simulator / emulator / device. Rebuild & Deploy the app.


Video Answer


2 Answers

I had exactly the same issue. I rebooted my smartphone and it worked as it was suggested in related topics. After restart the icon is displayed as it should everywhere.

I attach related links:

Problem ticket in Flutter Github repository

Related question with solution that worked

like image 117
Paul Kastel Avatar answered Oct 09 '22 10:10

Paul Kastel


Please check manifest file.

  <application
        android:name="io.flutter.app.FlutterApplication"
        android:label="flutter"
        android:icon="@mipmap/app_logo">

You have to change icon name here.

like image 24
Sunil Avatar answered Oct 09 '22 09:10

Sunil