AAPT out(634534754):No Delegate set:lost message:Done

时间:2016-07-18 07:24:02

标签: 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) : 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 个答案:

答案 0 :(得分:0)

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