navasmdc / MaterialDesignLibrary

This is a library with components of Android L to you use in android 2.2
Apache License 2.0
8.99k stars 2.22k forks source link

libpng warning: Not recognizing known sRGB profile #285

Open tonimoeckel opened 9 years ago

tonimoeckel commented 9 years ago

I updated the android build tools to 21.1.2. The android lint process noticed some general warnings according some drawables:

This is the build log:

Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
/opt/.../app/build/intermediates/exploded-aar/com.github.navasmdc/MaterialDesign/1.3/res/drawable-mdpi-v4/sprite_check.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

/opt/.../app/build/intermediates/exploded-aar/com.github.navasmdc/MaterialDesign/1.3/res/drawable-xhdpi-v4/sprite_check.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

/opt/.../app/build/intermediates/exploded-aar/com.github.navasmdc/MaterialDesign/1.3/res/drawable-xxhdpi-v4/sprite_check.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

/opt/.../app/build/intermediates/exploded-aar/com.github.navasmdc/MaterialDesign/1.3/res/drawable-ldpi-v4/sprite_check.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

/opt/.../app/build/intermediates/exploded-aar/com.github.navasmdc/MaterialDesign/1.3/res/drawable-hdpi-v4/sprite_check.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

/opt/.../app/build/intermediates/exploded-aar/com.github.navasmdc/MaterialDesign/1.3/res/drawable-mdpi-v4/sprite_check.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

/opt/.../app/build/intermediates/exploded-aar/com.github.navasmdc/MaterialDesign/1.3/res/drawable-xhdpi-v4/sprite_check.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

/opt/.../app/build/intermediates/exploded-aar/com.github.navasmdc/MaterialDesign/1.3/res/drawable-xxhdpi-v4/sprite_check.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

/opt/.../app/build/intermediates/exploded-aar/com.github.navasmdc/MaterialDesign/1.3/res/drawable-ldpi-v4/sprite_check.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

/opt/.../app/build/intermediates/exploded-aar/com.github.navasmdc/MaterialDesign/1.3/res/drawable-hdpi-v4/sprite_check.png: libpng warning: iCCP: Not recognizing known sRGB profile that has been edited

As also the appcompat is affected this problem might be a general problem of the build tools. But it's might be a easy fix for you.

stefanmeschke commented 9 years ago

+1

akshayjgandhi commented 9 years ago

Please check for more logs.

In my case, I moved my ic_launcher from all drawable folders to respective mipmap folders. OR please add compile 'com.nineoldandroids:library:2.4.+' in your build.gradle file