Android Studio:"libpng警告:iCCP:无法识别已编辑的已知sRGB配置文件" [英] Android Studio: "libpng warning: iCCP: Not recognizing known sRGB profile that has been edited"
问题描述
我花了几个小时试图解决这个问题:
I spent some hours trying to solve this:
app:mergeDebugResources AAPT错误(927129865):C:\ Users \ Will \ AndroidStudioProjects \ Splitter2 \ app \ build \ intermediates \ exploded-aar \ com.android.support \ appcompat-v7 \ 22.0.0 \ res \ drawable -hdpi-v4 \ abc_spinner_mtrl_am_alpha.9.png:
app:mergeDebugResources AAPT err(927129865): C:\Users\Will\AndroidStudioProjects\Splitter2\app\build\intermediates\exploded-aar\com.android.support\appcompat-v7\22.0.0\res\drawable-hdpi-v4\abc_spinner_mtrl_am_alpha.9.png:
libpng警告:iCCP:无法识别已知的sRGB配置文件 编辑
libpng warning: iCCP: Not recognizing known sRGB profile that has been edited
我的项目终于开始运行,但是每次我进行干净构建时,它都会再次显示此警告.
My project is finally running but every time I make a clean built it shows this warning again.
我将buildToolsVersion更新为"22.0.1",并且正在使用tools.build:gradle"1.2.3".我仍然遇到此错误.
I updated my buildToolsVersion to "22.0.1" and I am using tools.build:gradle "1.2.3". I'm still getting this error.
当我尝试使用 FancyButton 时,一切都开始了.
Everything started when I tried to use FancyButton.
有人知道如何解决这个问题吗?
Someone knows how to solve this problem?
推荐答案
这只是一个警告,libpng从1.6.0版开始发布,因此您可以忽略它.
It's just a warning, which libpng started issuing at version 1.6.0, so you can ignore it.
要摆脱警告,您需要修复警告中命名的PNG文件.您可以使用多种PNG图像编辑器(ImageMagick,GraphicsMagick等)中的任何一种来删除有问题的iCCP块.或者,您也可以将libpng降级到1.5.x版.
To get rid of the warning, you need to fix the PNG file that's named in the warning. You can use any one of a number of PNG image editors (ImageMagick, GraphicsMagick, etc.) to remove the offending iCCP chunk. Or you can downgrade your libpng to version 1.5.x.
请参见类似问题 libpng警告:iCCP:已知错误的sRGB配置文件
这篇关于Android Studio:"libpng警告:iCCP:无法识别已编辑的已知sRGB配置文件"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!