微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > ProjectConfig 中由 hdpi 改为 mdpi 之后,出现一些这样的错误?

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

时间:10-02 整理:3721RD 点击:
ProjectConfig 中由 hdpi 改为 mdpi 之后,出现一些这样的错误?  是什么原因引起的呢?


libpng error: IEND: CRC error
:
libpng error: Ir[D3][1E]: invalid chunk type
php?mod=tag&id=6090" target="_blank" class="relatedlink">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').

mdpi中确实报错的这些图片资源

少了图片资源吧 。

在哪个文件夹下面添加图片资源呢

少了文件,你可以看看HDPI文件夹的这图片,然后改个分辨率放到mdpi文件夹就行了

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top