Android Studio: “libpng warning: iCCP: Not recognizing known sRGB profile that has been edited”

后端 未结 6 664
执笔经年
执笔经年 2020-12-01 10:44

I spent some hours trying to solve this:

app:mergeDebugResources AAPT err(927129865): C:\\Users\\Will\\AndroidStudioProjects\\Splitter2\\app\\build\\i

6条回答
  •  没有蜡笔的小新
    2020-12-01 10:54

    I tried to fix the problem and get these annoying warnings disappeared. What really helped me: delete meta data from your png file (I guess you don't need it).

    brew install exiftool
    find . -path '*src/main/res/*' -name '*.png' -exec exiftool -overwrite_original -all= {} \;
    

    See details in Jake Wharton's answer https://groups.google.com/forum/#!msg/adt-dev/rjTQ_STR3OE/-UcNQRISTKsJ

提交回复
热议问题