Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android launcher icon still showing default in Android Oreo [duplicate]

I changed my application launcher icon using Android Studio 3.0.1:

File -> Image Asset

In Android 8.1, the icon looks like below image:

enter image description here

My AndroidManifest details

 <application
    android:allowBackup="true"
    android:icon="@mipmap/ic_launcher"
    android:label="@string/app_name"
    android:roundIcon="@mipmap/ic_launcher_round"
    android:hardwareAccelerated="true"
    android:supportsRtl="true"
    android:theme="@style/AppTheme">

I double checked the icons.ic_launcher and ic_launcher_round are my new icons.

like image 885
CLIFFORD P Y Avatar asked Feb 06 '18 09:02

CLIFFORD P Y


People also ask

What is launcher icon in Android?

A Launcher icon is a graphic that represents your application on the device's Home screen and in the Launcher window. The user opens the Launcher by touching the icon at the bottom of the Home screen. The Launcher opens and exposes the icons for all of the installed applications.

How to make adaptive icon Android?

Add your adaptive icon to your app xml , create alternative drawable resources in your app for backward-compatibility with Android 8.0 (API level 26). You can then use the <adaptive-icon> element to define the foreground, background, and monochromatic layer drawables for your icons.


1 Answers

Best solution is delete mipmap-anydpi-v26 folder then app will take default icon. In android studio Project mode go to this package

res/mipmap-anydpi-v26

delete it and rebuild and Run program.

like image 127
sasikumar Avatar answered Sep 18 '22 04:09

sasikumar