The application icon is not installed, it always shows the default green android icon

I followed the following steps as suggested by the tutorials and other questions:

  1. android: icon = "@ mipmap / ic_launcher" in the manifest, where the application icon is called ic_launcher, and all the mip cards have been appropriately replaced based on permission
  2. replaced all mipmap images with images generated from Android Asset Studio
  3. I selected the appropriate files in the image asset by right-clicking on Res.
  4. I uninstalled the old application. Rebuild the application and run
  5. I invalidated the cache and restarted Android Studio too
  6. Restarted mobile
  7. An image of 512 * 512 pixels has also been added to the image resource.

The problem I suspect is that when starting an asset of an image, the default is to use a clipart, not an image. Thus, every time the application starts, it can select the default icon with the image.

I also saved the application icon in the toolbar. This sometimes changes. If the application starts again, it will change to the default green Android icon.

I have a new android studio 2.1. So are there any problems with this in this regard?

+7
source share
3 answers

In the manifest:

android:icon="@drawable/ic_launcher" android:logo="@drawable/ic_launcher" 

In the expandable folder, I added my logo named ic_launcher with a size of 192 * 192 pixels.

This decision set me on the right track.

+1
source

Have you changed the manifest file?

android: icon = "@ mipmap / ic_launcher" on

Android: icon = "@ mipmap / your_app_logo_name"

0
source

Rename the icon file with any other name in all folders and change it also in menifest.xml.

If it was ic_launcher , change it to any other name, say app_icon in the & menifest.xml folders.

Uninstall the application and install it again.

I hope it helps.

0
source

All Articles