flutter_launcher_icons icon indicating copy to clipboard operation
flutter_launcher_icons copied to clipboard

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

Open MrCoder75 opened this issue 1 year ago • 17 comments

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.

MrCoder75 avatar Sep 23 '24 10:09 MrCoder75

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.

jkoenig134 avatar Sep 24 '24 08:09 jkoenig134

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

MarkOSullivan94 avatar Sep 24 '24 13:09 MarkOSullivan94

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

jul3zian avatar Sep 24 '24 14:09 jul3zian

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!

yar-tsar avatar Sep 24 '24 16:09 yar-tsar

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.

sibeux avatar Sep 24 '24 17:09 sibeux

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.

theahmedhany avatar Sep 24 '24 20:09 theahmedhany

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.

furbierecordsDev avatar Sep 25 '24 10:09 furbierecordsDev

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

tarunprajapati88 avatar Sep 28 '24 05:09 tarunprajapati88

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

m-1226 avatar Sep 28 '24 05:09 m-1226

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.

After spending 2 days, it finally got resolved with your answer. Thanks alot

AyeshaIftikhar avatar Oct 01 '24 06:10 AyeshaIftikhar

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.

It worked for me. Thanks alot.

BaoTrung37 avatar Oct 09 '24 05:10 BaoTrung37

It worked for me too, Thank you !

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.

AlexandreDevaux avatar Oct 10 '24 09:10 AlexandreDevaux

It worked for me. Thanks alot. In my case the file name is launcher_icon.xml

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.

fandiidnaf avatar Oct 11 '24 01:10 fandiidnaf

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.

Thank you brother for putting me out of my 2 and a half hour despair.

Nikollei avatar Oct 11 '24 16:10 Nikollei

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.

Like everyone it worked for me too!! Thanks!!

itsvinayyay avatar Oct 13 '24 17:10 itsvinayyay

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.

It worked! Thanks!

franciscoangelmtz avatar Oct 17 '24 18:10 franciscoangelmtz

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.

Worked for me too!

PiousLayman avatar Oct 21 '24 18:10 PiousLayman

In my case, I had to delete the launcher_icon.xml file in android/app/src/main/res/mipmap-anydpi-v26 for it to work.

martin2236 avatar Oct 25 '24 14:10 martin2236

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.

It worked! Thanks!

NoealRajeev avatar Oct 28 '24 10:10 NoealRajeev

我有同样的问题。我认为根本原因是文件android/app/src/main/res/mipmap-anydpi-v26/ic_launcher.xml内容

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

尽管没有配置自适应图标,但正在生成。

生成后删除此文件可以解决我的问题。

成功了谢谢!

HelloXiongQ avatar Nov 03 '24 06:11 HelloXiongQ