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

When running my emulator with Android Studio I can't see anything on the emulator screen (everything is black). I get the following Event Log:

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

I already tried to clean the project and rebuild it but nothing happened. I think it's something related just with the emulator.

Does anyone know what's going on?


Yes, it's all about the emulator.

Go to Tools > AVD Manager > Virtual device configuration > Show advanced settings > Boot option > Cool 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


My emulator was working well and then it crashed with a black screen. After that it always started with a black screen. So I went to Tools > AVD Manager > Virtual device configuration and clicked on down arrow of the last working device, made a "duplicate" of the device and deleted the original device. The new "duplicate" emulator worked.


  • android app doesn't show on the emulator
  • Getting internet connection in android emulator
  • How to stop auto-refreshing of SBT modules upon opening project in IDEA?
  • How will Roslyn help me in avoiding a recompile to deploy changes to my ASP.NET website?
  • How to make Java compiler generate line numbers in compiled code
  • Geo Fix not working in Android SDK 2.2
  • Java, will (low + high) >>> 1 overflow?
  • How to Configure Log4Net Custom Object Renderer for Generic Objects?
  • twisted.internet.error.ConnectError when run scrapy spider
  • Is there a equivalent to JSON.Net in Java? [duplicate]
  • why does .next() give me 'undefined'
  • end daemon processes with multiprocessing module
  • Jenkins: could not create Android emulator failed to parse AVD config file
  • ASP.NET MVC 2 Preview 2 - display directory list rather than home/index
  • Why cepheus don't send int without quotes to orion?
  • IE7 and TinyMCE with Plone
  • Implementation of State Monad
  • How can I enlarge video fullscreen without the affected interface project in as3?
  • How to add git credentials to the build so it would be able to be used within a shell code?
  • custom UITableViewCell with image for highlighting
  • Android - Material Design - NavigationView - How to put vertical scroll?
  • print() is showing quotation marks in results
  • JQuery Internet Explorer and ajaxstop
  • Switching to Release Build causes runtime error in Web Reference
  • why overloaded new operator is calling constructor even I am using malloc inside overloading functio
  • Q promise. Difference between .when and .then
  • Why is an OPTIONS request sent to the server?
  • jQuery show() function is not executed in Safari if submit handler returns true
  • Problems to linebreak with an int in JLabel
  • Sony Xperia Z Tablet not found by adb
  • Check if a string to interpolate provides expected placeholders
  • javascript inside java/jsp code
  • Sending data from AppleScript to FileMaker records
  • QuartzCore.framework for Mono Develop
  • VB.net deserialize, JSON Conversion from type 'Dictionary(Of String,Object)' to type '
  • KeystoneJS: Relationships in Admin UI not updating
  • AngularJs get employee from factory
  • Load html files in TinyMce
  • how does django model after text[] in postgresql [duplicate]
  • Cant find why the layout is getting smaller