Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android icon not changing

Tags:

android

I've developed several Android applications and this never happened to me, and is troubling my mind. I have an application launcher icon named ic_launcher on the android several folders (xhdpi, hdpi, mdpi and ldpi). My Android Manifest looks like this:

<application
    android:icon="@drawable/ic_launcher"
    android:label="@string/app_name" >
    <uses-library android:name="com.google.android.maps" />

And the application icon is simply the default android one. I've cleaned the project, refreshed, built from several different computers, used ant to crunch the png's and nothing.

I'm starting to think it's a problem with cached files on my Android or something (I use Miui on my S2) however I'm not sure.

Anyone have better suggestions?

like image 688
Luís Jesus Avatar asked Aug 23 '12 12:08

Luís Jesus


People also ask

Can Android icons be changed?

To apply a new icon, use the Tap to Edit Icon button (it will also show the current app icon). You will see a list of available options for customizing the icon on the next screen. You may see custom icon packs you have installed, and you can also use text, emojis, gallery images, and system icons.

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.


2 Answers

I found that I had to delete ic_launcher.xml since this contains a path with the default icon encoded in it.

like image 151
Anthony. Avatar answered Oct 21 '22 15:10

Anthony.


Change your theme if you are using MIUI. Icon will refresh..

like image 35
Ujesh Lal Avatar answered Oct 21 '22 14:10

Ujesh Lal