Yeah, the code paths are different depending on the version of build tools and we missed that initially. It will be fixed in the next version.
On Thu, Nov 19, 2015 at 11:38 AM Joe Bowbeer <[email protected]> wrote: > Suppressing these warnings by any means that is effective is fine with me > -- though I think the "best" and most directed fix would be to add one line > to aapt to tell libpng to skip the checks. > > I upgraded to plugin 1.5.0 (is that the next version you were referring > to?), but the messages are still there even though the format has changed > slightly: > > AAPT err(Facade for 665183978): ...image.png: libpng warning: iCCP: Not > recognizing known sRGB profile that has been edited > > > On Friday, November 13, 2015 at 2:55:51 AM UTC-8, Michal Bendowski wrote: >> >> 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 a topic in the > Google Groups "adt-dev" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/adt-dev/MSqDyQ8pdSQ/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- 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.
