user2166048
user2166048

Reputation: 7

android libpng warning: iCCP: Not recognizing known sRGB profile that has been edited (repeating as no solution)

I am sorry for repeating same question as all solutions on net which I could try failed in to solve my problem. I have installed many times Linux Mint 17.2 with different Java , android SDKs, i386 libraries but all fail.

Gradle is showing warnings

     libpng warning: iCCP: Not recognizing known sRGB profile that has been edited (repeating as no solution)

my build script is

 compileSdkVersion 22
buildToolsVersion '22.0.1'
defaultConfig {
    minSdkVersion 16
    targetSdkVersion 22

but when I change this to

compileSdkVersion 21
buildToolsVersion '19.1.0'
defaultConfig {
    minSdkVersion 16
    targetSdkVersion 21

we are using classpath 'com.android.tools.build:gradle:1.0.1' classpath 'com.jakewharton.sdkmanager:gradle-plugin:0.12.+'

changing these again making different issues. Is this anyway to solve this issue / bug

it is working fine, but our project needs 22 for some other libraries.

Upvotes: 0

Views: 1512

Answers (2)

Mina Fawzy
Mina Fawzy

Reputation: 21452

This issue because of build tools try change it from gradle

may be this help

compileSdkVersion 23
buildToolsVersion '23.0.0'
defaultConfig {
    minSdkVersion 16
    targetSdkVersion 23
  }

UPDATE ANSWER

this happen with me cause I was include PSD file into my android studio

Upvotes: 0

GaryAmundson
GaryAmundson

Reputation: 199

What worked for me was to open the offending .png(s) in Photoshop, do "Save to Web" (under File) and overwriting the original file.

Upvotes: 2

Related Questions