App Launcher Icon Is Wrong

2019-08-05 05:51发布

The manifest defines the app icon that I want. But when I deploy the app the app icon is a completely different icon. What could possibly be going on?

The image that was showing as the icon is no where to be found in any of my project files. I haven't moved my ic_launcher images at all so they are all still in their appropriate drawable folder. It was showing fine an hour ago on another computer.

It started showing differently when I downloaded my code from an svn repository on another computer and started eclipse.

Cleaning my project fixed this.

3条回答
【Aperson】
2楼-- · 2019-08-05 06:04

Check paths (/res/drawable-*) and try to clean your project

查看更多
虎瘦雄心在
3楼-- · 2019-08-05 06:13

It could be possible, that your phone uses an other density than the icon you provided. Did you scale you icon down to all densities? Did you forget to delete the default app icon in the ldpi, mdpi and hdpi folder?

查看更多
Melony?
4楼-- · 2019-08-05 06:18

Make sure that you have the res/drawable-hdpi,ldpi,mdpi have the correct images and sizes.

The website below might help you out with the sizes.. http://developer.android.com/guide/practices/ui_guidelines/icon_design_launcher.html

查看更多
登录 后发表回答