My app icon is not showing on some devices
Asked Answered
S

5

17

I just published my app on play store and I notice that some Samsung device does not display the icon of my app. They assert the default icon of android studio. Have you an idea what can cause that? i'm confused

<application 
android:name=".MyApp"
android:allowBackup="true"
android:icon="@mipmap/ic_launcher" 
android:roundIcon="@mipmap/ic_launcher_round"
android:label="@string/app_name" 
android:theme="@style/AppTheme">
 .... 
</application>  
Stanwood answered 22/4, 2019 at 6:32 Comment(2)
Check your all mipmap folder. maybe one of them does not contain the right png image.Cornwallis
How it shows? Like Default app icon?Estrada
M
11

Try This;

File -> New -> Image Asset -> Launcher Icons (Adaptive and Legacy)

For more information; https://proandroiddev.com/android-adaptive-icons-are-easier-than-you-think-3c66be2dd4dd

https://developer.android.com/guide/practices/ui_guidelines/icon_design_adaptive

Milligram answered 22/4, 2019 at 6:51 Comment(0)
O
10

Remove this line..

android:roundIcon="@mipmap/ic_launcher_round"
Olwen answered 22/4, 2019 at 6:34 Comment(0)
I
7

My issue was solved by restarting the phone.

Inoperative answered 2/6, 2020 at 5:35 Comment(0)
N
4

I thing some device had oreo and pie OS that why device does not show the correct app icon.Now you can delete ic_launcher_round and ic_launcher from mipmap-anydpi-v26

please check this link Launcher Icon is not Shown in Oreo 8.0/8.1

Newby answered 22/4, 2019 at 6:58 Comment(0)
U
0

This happened to me when I noticed my mipmap folder is missing but if I search the icons in the project they are there. So I created a mipmap folder manually New > Android resource directory > Mipmap. Then I generated the image asset for the icons again.

Urena answered 2/12, 2022 at 7:16 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.