立即注册
查看: 3169|回复: 4

[问题] ProjectConfig 中由 hdpi 改为 mdpi 之后,出现一些这样的错误?

已绑定手机
发表于 2012-12-21 09:21:11 | 显示全部楼层 |阅读模式 来自 广东省深圳市
ProjectConfig 中由 hdpi 改为 mdpi 之后,出现一些这样的错误?  是什么原因引起的呢?




libpng error: IEND: CRC error

:
libpng error: Ir[D3][1E]: invalid chunk type
Frameworks/base/packages/SystemUI/res/layout/Battery_low.xml:46: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/battery_low_battery').
frameworks/base/packages/SystemUI/res/layout-sw600dp/compat_mode_help.xml:20: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/compat_mode_help_bg').
frameworks/base/packages/SystemUI/res/layout-sw600dp/compat_mode_help.xml:26: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/compat_mode_help_divider_top').
frameworks/base/packages/SystemUI/res/layout-sw600dp/compat_mode_help.xml:40: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/compat_mode_help_diagram').
frameworks/base/packages/SystemUI/res/layout-sw600dp/compat_mode_help.xml:48: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/compat_mode_help_divider_bottom').
frameworks/base/packages/SystemUI/res/layout-sw600dp/compat_mode_help.xml:58: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/compat_mode_help_icon').
frameworks/base/packages/SystemUI/res/layout/global_screenshot.xml:24: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/screenshot_panel').
frameworks/base/packages/SystemUI/res/layout/intruder_alert.xml:30: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/alert_bar_background').


我知道答案 回答被采纳将会获得5 RD币 已有4人回答
发表于 2012-12-21 09:34:29 | 显示全部楼层 来自 广东省深圳市
mdpi中确实报错的这些图片资源
发表于 2012-12-21 09:37:04 | 显示全部楼层 来自 广东省深圳市
少了图片资源吧 。。
已绑定手机
 楼主| 发表于 2012-12-21 10:08:32 | 显示全部楼层 来自 广东省深圳市
azhuo 发表于 2012-12-21 09:37
少了图片资源吧 。。

在哪个文件夹下面添加图片资源呢
已绑定手机
已实名认证
发表于 2012-12-22 12:58:57 | 显示全部楼层 来自 广东省深圳市
antforum 发表于 2012-12-21 10:08
在哪个文件夹下面添加图片资源呢

少了文件,你可以看看HDPI文件夹的这图片,然后改个分辨率放到mdpi文件夹就行了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

合作/建议

TEL: 19168984579

工作时间:
周一到周五 9:00-11:30 13:30-19:30
  • 扫一扫关注公众号
  • 扫一扫打开小程序
Copyright © 2013-2024 一牛网 版权所有 All Rights Reserved. 帮助中心|隐私声明|联系我们|手机版|粤ICP备13053961号|营业执照|EDI证
在本版发帖搜索
扫一扫添加微信客服
QQ客服返回顶部
快速回复 返回顶部 返回列表