Invalid ic_launcher icon in my application

I am developing an application for Honeycomband getting this unusual problem.

I changed the application icon ( ic_launcher) in each folder drawableand make sure that it is right in the manifest, but instead I have a standard " settings" icon in the launcher (this is correct in the application itself).

I cleaned the project, looked for every wrong line, no results.

Help will be appreciated :)

+5
source share
4 answers

Strange problem

Just change @drawable/appiconto the icon in the Manifest.xmlfollowing way:

<application android:icon="@drawable/appicon" android:label="@string/app_name"
android:name="com.droid.MyApplication">
...
</application>
+8
source

. .

+1

Perhaps this happened because it did not delete the old application with the old launch icon. So just try uninstalling the application. And put the size of the differnet icon in both folders drawable.

Give the name of the icon in your tag AndroidManifest.xml <application>.

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

And run the application.

0
source

Go to AndroidManifest and edit:

<application
    android:icon="@mipmap/ic_custom_launcher"
    android:roundIcon="@mipmap/ic_custom_launcher">
    /* ....  */
</application>
0
source

All Articles