Problem with the PNG file

Errors in logcat:

Libpng warning: iCCP: known incorrect sRGB profile glTexImage2D: got err pre :( 0x506 internal 0x1908 format 0x1908 type 0x1401

When you start the application in the emulator,the error Unfortunate, has stopped pops up.

How to fix it?

Author: Barmaley, 2017-12-18

1 answers

This happens because of the RGB profile saved in the PNG file, take the PNGCrush utility and run something like this on your PNG file:

pngcrush -ow -rem allb -reduce myfile.png

Pruflink

 1
Author: Barmaley, 2017-12-18 17:25:55