Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Launcher Icon not working

I have an Android app that I am currently developing. I have created icons (.png) and placed them in the /res/drawable-hdpi (and ldpi & mdpi) folders. In my manifest I have

<application android:icon="@+drawable/icon" android:label="@string/app_name">

my icons are all named icon.png.

I have compiled the source and when I run it on the emulator, the icon shows up in the desktop launcher. But when I copy the apk to my actual phone, the desktop launcher shows the default package icon rather than my custom icon. Although, funny enough when I am actually installing the app, the package manager does show the icon. But once it is installed, the icon does not show.

How do I make my application icon show up as the launcher icon?

Skip

like image 415
MrGibbage Avatar asked Sep 12 '25 18:09

MrGibbage


1 Answers

remove the "+" in "@+drawable/icon"

like image 111
Roberto Artiles Astelarra Avatar answered Sep 15 '25 07:09

Roberto Artiles Astelarra