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 395 forks source link

Version 0.40.0 generates icon but it is not showing in android screen #579

Open MrCoder75 opened 5 days ago

MrCoder75 commented 5 days ago

Icon is being successfluuy generated on version 0.31.0 but on the current version 0.40.0 the output of this is " flutter pub get flutter pub run flutter_launcher_icons " is sucessful but when on actual phone there is no icon.

jkoenig134 commented 4 days ago

I have the same issue. I think the root cause is the file android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml with content

<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
</adaptive-icon>

is being generated although nothing is configured regarding the adaptive icons.

Deleting this file after generating resolves the issue for me.

MarkOSullivan94 commented 4 days ago

Icon is being successfluuy generated on version 0.31.0 but on the current version 0.40.0 the output of this is " flutter pub get flutter pub run flutter_launcher_icons " is sucessful but when on actual phone there is no icon.

Can you share your pubspec.yaml and which Android SDK you were running the app on please

jul3zian commented 4 days ago

Same problem here. pubspec.yaml: image I use AndroidSDK 33, minSDK is 23

yar-tsar commented 4 days ago

I have the same issue. I think the root cause is the file android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml with content

<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
</adaptive-icon>

is being generated although nothing is configured regarding the adaptive icons.

Deleting this file after generating resolves the issue for me.

Really helpful, thank you!

sibeux commented 3 days ago

I have the same issue. I think the root cause is the file android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml with content

<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
</adaptive-icon>

is being generated although nothing is configured regarding the adaptive icons.

Deleting this file after generating resolves the issue for me.

wow. it's work for me. thank you so much, sir.

theahmedhany commented 3 days ago

I have the same issue. I think the root cause is the file android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml with content

<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
</adaptive-icon>

is being generated although nothing is configured regarding the adaptive icons.

Deleting this file after generating resolves the issue for me.

Wow. It works for me after a long struggle. Thank you very much.

furbierecordsDev commented 3 days ago

I have the same issue. I think the root cause is the file android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml with content

<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
</adaptive-icon>

is being generated although nothing is configured regarding the adaptive icons.

Deleting this file after generating resolves the issue for me.

confirm. it works for me.

tarunprajapati88 commented 12 hours ago

I have the same issue. I think the root cause is the file android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml with content

<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
</adaptive-icon>

is being generated although nothing is configured regarding the adaptive icons.

Deleting this file after generating resolves the issue for me.

Thnks buddy , it worked

m-1226 commented 11 hours ago

I have the same issue. I think the root cause is the file android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml with content

<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
</adaptive-icon>

is being generated although nothing is configured regarding the adaptive icons. Deleting this file after generating resolves the issue for me.

Thnks buddy , it worked

a Lot of thanks to you