忽略匿名内部类的内部类

时间:2011-12-09 05:55:19

标签: android xml parsing android-layout

当我尝试运行项目时,我在项目中收到错误。在运行之前它没有显示任何错误。只有在我尝试运行它之后才显示项目文件夹上的红色标记。但是不在下面的文件上。 它还会显示这样的警告,

Dx警告:忽略匿名内部类的内部类属性 (org.apache.commons.httpclient.HttpMethodBase $ 1)没有附带 关联的EnclosingMethod属性。这堂课可能是由一个 没有以现代.class文件格式为目标的编译器。推荐 解决方案是使用最新的编译器从源代码重新编译类 并且没有指定任何“-target”类型选项。无视的后果 这个警告是这个类的反射操作会不正确 表明是一个内部类。

并显示错误,

[2011-12-09 10:59:27 - RoamMeo] libpng error: Not a PNG file
[2011-12-09 10:59:27 - RoamMeo] ERROR: Failure processing PNG image         C:\eclipseworkspace\RoamMeo\res\drawable\pic.png
[2011-12-09 10:59:27 - RoamMeo] libpng error: Not a PNG file
[2011-12-09 10:59:27 - RoamMeo] ERROR: Failure processing PNG image
C:\eclipseworkspace\RoamMeo\res\drawable-hdpi\pic.png
[2011-12-09 10:59:27 - RoamMeo] libpng error: Not a PNG file
[2011-12-09 10:59:27 - RoamMeo] ERROR: Failure processing PNG image    C:\eclipseworkspace\RoamMeo\res\drawable-ldpi\pic.png
[2011-12-09 10:59:27 - RoamMeo] libpng error: Not a PNG file
[2011-12-09 10:59:27 - RoamMeo] ERROR: Failure processing PNG image 
C:\eclipseworkspace\RoamMeo\res\drawable-mdpi\pic.png
[2011-12-09 10:59:27 - RoamMeo] libpng error: Not a PNG file
[2011-12-09 10:59:27 - RoamMeo] ERROR: Failure processing PNG image  C:\eclipseworkspace\RoamMeo\res\drawable\splash.png
[2011-12-09 10:59:27 - RoamMeo] libpng error: Not a PNG file
[2011-12-09 10:59:27 - RoamMeo] ERROR: Failure processing PNG image  C:\eclipseworkspace\RoamMeo\res\drawable-hdpi\splash.png
[2011-12-09 10:59:27 - RoamMeo] libpng error: Not a PNG file
[2011-12-09 10:59:27 - RoamMeo] ERROR: Failure processing PNG image  C:\eclipseworkspace\RoamMeo\res\drawable-ldpi\splash.png
[2011-12-09 10:59:27 - RoamMeo] libpng error: Not a PNG file
[2011-12-09 10:59:27 - RoamMeo] ERROR: Failure processing PNG image  C:\eclipseworkspace\RoamMeo\res\drawable-mdpi\splash.png
[2011-12-09 10:59:27 - RoamMeo] C:\eclipseworkspace\RoamMeo\res\layout\home.xml:2:     error: 
Error: No resource found that matches the given name (at 'background' with value '@drawable/bgwithstrip').
[2011-12-09 10:59:27 - RoamMeo] C:\eclipseworkspace\RoamMeo\res\layout\login.xml:2:    error: Error: No resource found that matches the given name (at 'background' with value '@drawable/bg').
[2011-12-09 10:59:27 - RoamMeo] C:\eclipseworkspace\RoamMeo\res\layout\login.xml:59: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/login_btn').
[2011-12-09 10:59:27 - RoamMeo] C:\eclipseworkspace\RoamMeo\res\layout\login.xml:76:     error: Error: No resource found that matches the given name (at 'src' with value '@drawable/register_btn01').
[2011-12-09 10:59:27 - RoamMeo] C:\eclipseworkspace\RoamMeo\res\layout\login.xml:86: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/roammeologo').
[2011-12-09 10:59:27 - RoamMeo] C:\eclipseworkspace\RoamMeo\res\layout\post_events.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/bgwithstrip').
[2011-12-09 10:59:27 - RoamMeo] C:\eclipseworkspace\RoamMeo\res\layout\post_events.xml:239: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/butn_bg').
[2011-12-09 10:59:27 - RoamMeo] C:\eclipseworkspace\RoamMeo\res\layout\splash.xml:7: error: Error: No resource found that matches the given name (at 'src' with value '@drawable/splash').
[2011-12-09 10:59:27 - RoamMeo] C:\eclipseworkspace\RoamMeo\res\layout\userregistration.xml:2: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/bg').
[2011-12-09 10:59:27 - RoamMeo] C:\eclipseworkspace\RoamMeo\res\layout\userregistration.xml:8: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/butn_bg').
[2011-12-09 10:59:27 - RoamMeo] C:\eclipseworkspace\RoamMeo\res\layout\userregistration.xml:36: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/butn_bg').
[2011-12-09 10:59:27 - RoamMeo] C:\eclipseworkspace\RoamMeo\res\layout\userregistration.xml:69: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/butn_bg').
[2011-12-09 10:59:27 - RoamMeo] C:\eclipseworkspace\RoamMeo\res\layout\userregistration.xml:109: error: Error: No resource found that matches the given name (at 'background' with value '@drawable/register_btn01').
[2011-12-09 10:59:27 - RoamMeo] C:\eclipseworkspace\RoamMeo\res\layout\userregistration.xml:119: error: Erro

但是我表明所有其他png文件都在工作。我认为图像也没有问题。 然后关于布局错误,我已经给出了布局中的资源,但它显示没有找到资源是什么问题。如果有人知道的话,请帮助。

0 个答案:

没有答案