Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
The Android emulator can show this error "iCCP: Not recognizing known sRGB profile" multiple times. This command is a fix for all PNG files in your project structure. Inspired from https://gist.github.com/rupakraj/5e7e58a666282ca9c2f7
To resolve the errors for all PNG files from your project navigate in your top project folder and execute:
find . -name "*.png" -exec pngcrush -ow -rem allb -reduce {} +
If you want to know what all commands with their arguments do use the corresponding man pages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.