I don't understand enough about what's going on here to talk about the aapt 
fix, but in the next Gradle plugin version we will log this warning at INFO 
level, instead of WARNING, which means it won't be visible by default.

Michal

On Thursday, November 12, 2015 at 6:43:07 PM UTC, Joe Bowbeer wrote:
>
> Regarding the AAPT warning that many are seeing in their build logs 
> because of an old sRGB profile that is not-uncommonly added by PhotoShop 
> and which is stripped by AAPT anyway...
>
> Which has been reported many times, e.g., Issues 77704 
> <https://code.google.com/p/android/issues/detail?id=77704>, 78326 
> <https://code.google.com/p/android/issues/detail?id=78326>, 78591 
> <https://code.google.com/p/android/issues/detail?id=78591>, 97203 
> <https://code.google.com/p/android/issues/detail?id=97203>, 160749 
> <https://code.google.com/p/android/issues/detail?id=160749>, 177731 
> <https://code.google.com/p/android/issues/detail?id=177731>, 182725 
> <https://code.google.com/p/android/issues/detail?id=182725>, 190988 
> <https://code.google.com/p/android/issues/detail?id=190988>
>
> and was discussed on this list a year ago:
>
> libpng warning: iCCP: Not recognizing known sRGB profile that has been 
> edited <https://groups.google.com/d/msg/adt-dev/rjTQ_STR3OE/hfFl-SDOHLkJ>
>
> I recommend fixing the problem in aapt by enabling the option that was 
> added in libpng 1.6.11 to skip the check that generates these warnings:
>
> png_set_option(read_ptr, PNG_SKIP_sRGB_CHECK_PROFILE, PNG_OPTION_ON);
>
> See Issue 77704 <https://code.google.com/p/android/issues/detail?id=77704> 
> for more information.
>

-- 
You received this message because you are subscribed to the Google Groups 
"adt-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to