glTexImage2D: got err pre :( 0x506 internal 0x1908 format 0x1908 type 0x1401

Yes, it's all about the emulator.

Go to Tools > AVD manager > (Edit a specific Virtual Device) > Select Cold boot

Then run again your project with that AVD. Close the session and set again Quick boot in Boot option.


As @SirQuickWay's solution didn't work for me I had to change OpenGL ES Renderer and OpenGL ES API level in the emulator settings to SwiftShader and Renderer Maximum respectively. You can find these settings here:

Emulator bar > ... > Settings > Advanced (tab) like this: Android Emulator OpenGL settings

EDIT: Restart of the emulator is required after applying the settings.