问题
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.
回答1:
Check paths (/res/drawable-*) and try to clean your project
回答2:
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?
回答3:
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
来源:https://stackoverflow.com/questions/12022579/app-launcher-icon-is-wrong