android studio build error: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

从eclipse把项目移植到android studio 开发,遇到过很多问题,其中遇到build项目的时候总会出现这个错误:libpng warning: iCCP: Not recognizing known sRGB profile that has been edited,导致找不到R文件,google了很多方法,都觉得太麻烦,试了也不行,就自己尝试着把log中提示的“.9”图片从新改了下就好了(关于.9图制作可参考:Draw 9-patch),R文件就出来了,但是有很多图片还是提示这个警告,不过可以正常build就好

你可能感兴趣的:(android studio build error: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited)