ic_launcher.png,eclipse自动给小米手机重新安装运行,显示的还是旧图标
来源:互联网 发布:数据库创建索引 编辑:程序博客网 时间:2024/04/30 22:06
【问题描述】写了个小程序,写完想改换一下图标,就把各drawable文件夹里的ic_launcher.png文件都换了。模拟器下运行已经正确的换成新图标了。但是用eclipse自动给小米手机重新安装运行,显示的还是旧图标。
【问题分析】这是小米系统的bug(桌面图标缓存)!!!!!郁闷,害得折腾了1个小时!
【解决方案】啥都不用干,重启手机即可
转载:http://blog.csdn.net/qq1028850792/article/details/17471439
If you intend on your application being available on a large range of devices, you should place your application icon into the different res/drawable...
folders provided. In each of these folders, you should include a 48dp sized icon:
drawable-ldpi
(120 dpi, Low density screen) - 36px x 36pxdrawable-mdpi
(160 dpi, Medium density screen) - 48px x 48pxdrawable-hdpi
(240 dpi, High density screen) - 72px x 72pxdrawable-xhdpi
(320 dpi, Extra-high density screen) - 96px x 96pxdrawable-xxhdpi
(480 dpi, Extra-extra-high density screen) - 144px x 144pxdrawable-xxxhdpi
(640 dpi, Extra-extra-extra-high density screen) - 192px x 192px
You may then define the icon in your AndroidManifest.xml
file as such:
<application android:icon="@drawable/icon_name" android:label="@string/app_name" >.... </application>
参考:http://stackoverflow.com/questions/5350624/set-icon-for-android-application
0 0
- ic_launcher.png,eclipse自动给小米手机重新安装运行,显示的还是旧图标
- ic_launcher.png,eclipse自动给小米手机重新安装运行,显示的还是旧图标
- 更换ic_launcher.png后,eclipse给小米手机安装运行,显示的还是旧图标
- 关于Android app的launcher图标更换后,仍然显示默认的ic_launcher图标的解决方法
- 关于Android app的launcher图标更换后,仍然显示默认的ic_launcher图标的解决方法
- Android 小米手机开发APP图标更换后还显示原来的图标
- Android 小米手机开发APP图标更换后还显示原来的图标
- 在小米 三星 索尼 手机 :图标上显示数字
- 关于Android Studio下app的launcher图标更换后,仍然显示默认的ic_launcher图标的解决方法
- eclipse连接小米手机,运行程序卡死的问题小结
- Android更换logo之后小米手机和部分三星手机通知栏的小图标未显示正确的图标问题
- Ubuntu Eclipse Android 开发 真机调试 不能识别小米手机, 而显示????的解决方案
- 小米手机运行失败
- 小米手机图标消失问题
- Eclipse连接小米手机无连接显示解决办法
- 小米手机换图标后不变的解决办法
- 小米手机 更换app图标失败的解决方法
- 小米手机下Android的ICON图标无法更新
- 卷簇文件系统
- UVA - 10023 - Square root (模拟手算开方)
- spring 源码解读与设计详解:6 BeanDefinitionParserDelegate与资源解析
- HTML文本框中怎么限制输入字符(因为页面会认为英文和汉字是一样的)
- 第7周项目3-Time类中的运算符重载
- ic_launcher.png,eclipse自动给小米手机重新安装运行,显示的还是旧图标
- error C2665: “AfxMessageBox”: 2 个重载中没有一个可以转换所有参数类型
- cookie保存IP防止重复投票
- SQL中CONVERT转化函数的用法
- android cocos2d重载draw遇到的问题
- 响应式表格插件-tablesaw
- pc 机和android 手机之间的通信
- 软件开发是一门手艺活
- USACO 2.2 Runaround Numbers