我先drawable-hdpi添加了一张图片而且在main,xml里也引用为背景图片啦android:background="@drawable/qq123",
编译可以通过,为什么运行不了啊。
------最佳解决方案--------------------
诡异的错,放在别的drawable下试试,要不删工程 从新import
我一般都用这些方法,有时候就好了- -
------其他解决方案--------------------
重新导入还几次了,都没用,导入后还会报
[2012-12-10 17:06:44 - Music] Error in an XML file: aborting build.
[2012-12-10 17:09:02 - Music] R.java was modified manually! Reverting to generated version!
[2012-12-10 17:10:30 - Music] R.java was modified manually! Reverting to generated version!
[2012-12-10 17:14:15 - Music] libpng error: Not a PNG file
[2012-12-10 17:14:15 - Music] ERROR: Failure processing PNG image C:\Documents and Settings\Administrator\workspace\Music\res\drawable-hdpi\qq123.png
[2012-12-10 17:14:15 - Music] C:\Documents and Settings\Administrator\workspace\Music\res\layout\main.xml:2: error: Error: No resource found that matches the given name (at 'background' with value [email protected]/qq123').
[2012-12-10 18:01:54 - Music] libpng error: Not a PNG file
[2012-12-10 18:01:54 - Music] ERROR: Failure processing PNG image C:\Documents and Settings\Administrator\workspace\Music\res\drawable-ldpi\qq123.png
[2012-12-10 18:01:54 - Music] C:\Documents and Settings\Administrator\workspace\Music\res\layout\main.xml:2: error: Error: No resource found that matches the given name (at 'background' with value [email protected]/qq123').
------其他解决方案--------------------
[2012-12-10 17:14:15 - Music] libpng error: Not a PNG file
不是一个PNG格式的图?
换一张试试呢。
------其他解决方案--------------------
好吧,那是张假PNG格式的,是被谁直接改后缀名的,现在好啦...
------其他解决方案--------------------
wo ........................... yun ................................