Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Launching icon is not changing properly #25136

Closed
hrwndr opened this issue Dec 9, 2018 · 15 comments
Closed

Launching icon is not changing properly #25136

hrwndr opened this issue Dec 9, 2018 · 15 comments
Labels
engine flutter/engine repository. See also e: labels. platform-android Android applications specifically tool Affects the "flutter" command-line tool. See also t: labels.

Comments

@hrwndr
Copy link

hrwndr commented Dec 9, 2018

Launching icon of my flutter app is not changing properly. Flutter icon is still showing in some places after i changed the launching icon. Icon of the release apk is still flutter icon.

img_20181209_203317

img_20181209_203223

@hrwndr hrwndr changed the title Launching icon not changing properly Launching icon is not changing properly Dec 9, 2018
@zoechi
Copy link
Contributor

zoechi commented Dec 9, 2018

Please add the output of flutter doctor -v.
Did you follow the instructions in https://flutter.io/docs/deployment/android?
Please add the information about where you placed the icon file, the name you used and the configuration changes you made.

@zoechi zoechi added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Dec 9, 2018
@zoechi
Copy link
Contributor

zoechi commented Dec 9, 2018

Also try flutter clean and run again
and try flutter build apk --release and flutter install and check if any of these fix the issue.

@hrwndr
Copy link
Author

hrwndr commented Dec 9, 2018

Here is flutter doctor -v :

[√] Flutter (Channel stable, v1.0.0, on Microsoft Windows [Version 10.0.17134.407], locale en-US)
    • Flutter version 1.0.0 at C:\flutter
    • Framework revision 5391447fae (10 days ago), 2018-11-29 19:41:26 -0800
    • Engine revision 7375a0f414
    • Dart version 2.1.0 (build 2.1.0-dev.9.4 f9ebf21297)

[√] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at C:\Users\Harwinder\AppData\Local\Android\Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • ANDROID_HOME = C:\Users\Harwinder\AppData\Local\Android\Sdk
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
    • All Android licenses accepted.

[√] Android Studio (version 3.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 25.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)

[√] VS Code (version 1.26.1)
    • VS Code at C:\Users\Harwinder\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 2.21.1

[√] VS Code, 64-bit edition (version 1.29.1)
    • VS Code at C:\Program Files\Microsoft VS Code
    • Flutter extension version 2.21.1

[√] Connected device (1 available)
    • Redmi 5 • 8d65cc017cf5 • android-arm64 • Android 7.1.2 (API 25)

• No issues found!

And yes i tried all of the methods you mentioned.

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Dec 9, 2018
@zoechi zoechi added the engine flutter/engine repository. See also e: labels. label Dec 9, 2018
@zoechi zoechi added this to the Goals milestone Dec 9, 2018
@hrwndr hrwndr closed this as completed Dec 10, 2018
@hrwndr hrwndr reopened this Dec 10, 2018
@zoechi zoechi added tool Affects the "flutter" command-line tool. See also t: labels. platform-android Android applications specifically labels Dec 10, 2018
@paulkastel
Copy link

This problem happened to me also with my Xiaomi MI 6 with Android 8.0.0.
To solve it just reboot your phone.
Source: https://stackoverflow.com/questions/51569550/flutter-mini-icon-not-change

@daniel-krastev
Copy link

I have the same issue with Redmi 5 Plus - Android 8.1.0. Even after a restart, the small icon is a Flutter one. Even not just that, in the Installed apps section in the settings, the app appears with the Flutter icon.

@paulkastel
Copy link

@daniel-krastev well for me that worked, steps I took: I used this package https://pub.dartlang.org/packages/flutter_launcher_icons to create icons, then the problem occured. Next I used commands which @zoechi proposed (clean and release), but they didnt worked. Then uninstalled application form MI6, rebooted phone, and install app again - and all icons on Android were correct. both debug and release mode.

@ponnamkarthik
Copy link

Clearing app cache fixed my issue

@scognito
Copy link

@daniel-krastev well for me that worked, steps I took: I used this package https://pub.dartlang.org/packages/flutter_launcher_icons to create icons, then the problem occured. Next I used commands which @zoechi proposed (clean and release), but they didnt worked. Then uninstalled application form MI6, rebooted phone, and install app again - and all icons on Android were correct. both debug and release mode.

Didn't work on my Mi 9T. I think this is a device issue

@csells
Copy link
Contributor

csells commented Jan 8, 2020

@hrwndr can you provide steps to reproduce this issue?

@csells csells added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jan 8, 2020
@jmagman jmagman added this to Awaiting triage in Tools - engine support review Jan 10, 2020
@zanderso zanderso added this to Awaiting triage in Tools - Android review via automation Jan 23, 2020
@zanderso zanderso removed this from Awaiting triage in Tools - engine support review Jan 23, 2020
@halilkayaci
Copy link

Reboot your phone. It's solved.

@scognito
Copy link

scognito commented Feb 3, 2020

It's clearly a phone cache problem. Same app on two device works differently. Even rebooting, clearing cache and such, still old icon. Not a problem for me though

@no-response
Copy link

no-response bot commented Feb 3, 2020

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.

@no-response no-response bot closed this as completed Feb 3, 2020
Tools - Android review automation moved this from Awaiting triage to Engineer reviewed Feb 3, 2020
@dninet
Copy link

dninet commented Jan 21, 2021

@paulkastel and @daniel-krastev both use a xiaomi phone, like myself. I've deleted all .png files from my project folder, cleaned my cache on my phone, rebooted, reinstalled, rebuilt, flutter cleaned, get and executed flutter_launcher_icons and still I get the older version of my icon. I've been on this for hours and and I'm slowly losing my shit haha.

@pedromassangocode pedromassangocode removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Feb 5, 2021
@campovski
Copy link
Contributor

I had the same issue on iOS. All icons were changed but the one above the app when you can slide to close the apps. Deleting the app and reinstalling did not help. Rebooting the phone worked!

@github-actions
Copy link

github-actions bot commented Aug 4, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 4, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
engine flutter/engine repository. See also e: labels. platform-android Android applications specifically tool Affects the "flutter" command-line tool. See also t: labels.
Projects
Tools - Android review
  
Engineer reviewed
Development

No branches or pull requests