“未找到与给定名称匹配的资源”错误
在我的应用程序中,我在 res/drawable 文件夹中拥有的所有可绘制对象都出现此错误:
[2011-05-15 16:07:47 - Marmara] libpng error: Not a PNG file [2011-05-15 16:07:47 - Marmara] ERROR: Failure processing PNG image D:\WorkSpace JEE\Marmara\res\drawable\waiting.png [2011-05-15 16:07:47 - Marmara] D:\WorkSpace JEE\Marmara\res\layout\detail_promo.xml:55: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ombreinterne_imghp').
我尝试移动所有可绘制对象并再次添加它们,我也多次尝试清理项目,但这些都不起作用。
In my application I get this error for all drawalbes that I have in the folder res/drawable:
[2011-05-15 16:07:47 - Marmara] libpng error: Not a PNG file [2011-05-15 16:07:47 - Marmara] ERROR: Failure processing PNG image D:\WorkSpace JEE\Marmara\res\drawable\waiting.png [2011-05-15 16:07:47 - Marmara] D:\WorkSpace JEE\Marmara\res\layout\detail_promo.xml:55: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/ombreinterne_imghp').
I've tried to move all drawables and add them again, I've tried also to clean the project many times, but none of that works.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我认为您的 waiting.png 有问题,删除该图像并检查!由于某些损坏的 png 文件,无法进行进一步的处理。
I think your waiting.png has some problem, Remove that image and check ! Because of some corrupted png file further processing is not happening.