Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/java/349.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java AAPT out(634534754):未设置委托:丢失消息:完成_Java_Android_Xml_Image_Android Drawable - Fatal编程技术网

Java AAPT out(634534754):未设置委托:丢失消息:完成

Java AAPT out(634534754):未设置委托:丢失消息:完成,java,android,xml,image,android-drawable,Java,Android,Xml,Image,Android Drawable,在创建项目时,我看到了这些错误,我将图像放在drawable文件夹中,然后我正在编译我的项目,然后出现了这些问题 我一次又一次地收到这些错误消息:- :app:mergeDebugResources AAPT out(634534754) : No Delegate set : lost message:Done AAPT out(157551984) : No Delegate set : lost message:Done AAPT out(1054964944

在创建项目时,我看到了这些错误,我将图像放在drawable文件夹中,然后我正在编译我的项目,然后出现了这些问题

我一次又一次地收到这些错误消息:-

   :app:mergeDebugResources
    AAPT out(634534754) : No Delegate set : lost message:Done
    AAPT out(157551984) : No Delegate set : lost message:Done
    AAPT out(1054964944) : No Delegate set : lost message:Done
    AAPT out(942612022) : No Delegate set : lost message:Done
    AAPT out(1202935217) : No Delegate set : lost message:Done
    AAPT out(804862562) : No Delegate set : lost message:Done
    AAPT err(634534754): libpng error: Not a PNG file
    AAPT err(804862562): libpng error: Not a PNG file
    AAPT err(1829516134): D:\firstapp\app\src\main\res\drawable-ldpi\gesture.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
    AAPT err(1054964944): libpng error: Not a PNG file
    AAPT err(942612022): D:\firstapp\app\src\main\res\drawable-hdpi\frame.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
    AAPT err(942612022): libpng error: Not a PNG file
    AAPT err(1202935217): libpng error: Not a PNG file
    AAPT err(211209819): D:\firstapp\app\src\main\res\drawable-hdpi\title_bar_menu_on.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
    AAPT err(157551984): libpng error: Not a PNG file
    AAPT err(157551984): D:\LoginDemo\app\src\main\res\drawable-hdpi\title_bar_menu.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

为什么会这样?这只是在这些项目中进行的。

这是由于一些原因造成的, 1> 当您将eclipse项目移动到android stdio时。 2> 当图像文件被破坏时 如何解决错误? 为了解决这些问题, 1> 您必须在任何编辑器中打开图像文件,然后尝试保存图像文件。 2> 在上一步修复所有受感染的文件时,必须重新加载project。 我希望它能解决这个错误