App Launcher Icon Is Wrong

我怕爱的太早我们不能终老 提交于 2019-12-11 00:48:59

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!