19

Trying to debug using emulator an android application Im trying to code.

I get this error code

W/EGL_emulation﹕ eglSurfaceAttrib not implemented

What does it mean when that error appears how can I fix it?

enter image description here

Sambulo Senda
  • 1,288
  • 1
  • 14
  • 19
  • Swap to use GenyMotion emulator. It has better OpenGL support. – Simon Jun 06 '14 at 17:27
  • 1
    Please copy the entire error message and the relevant code and paste it to your post. It's kind of hard to read on here, and imgur will expire at some point. – hlt Aug 20 '14 at 00:11
  • Did you ever find the solution? – Don Rhummy Oct 08 '14 at 05:46
  • 1
    @Simon I'm getting the same error even with the GenyMotion devices, W/EGL_genymotion﹕ eglSurfaceAttrib not implemented – Mani Apr 15 '15 at 11:47

2 Answers2

3

It's a problem with OpenGL. I've seen it before, most commonly with using GenyMotion and then sleeping/resuming my computer. Restarting the emulator and launching your app again should fix it.

Ben Pearson
  • 7,172
  • 4
  • 29
  • 50
  • 1
    I don't use GenyMotion, and I attempted to do both of those things (restart computer and launch app again) didn't work. Any other suggestions? – Jono Sep 13 '14 at 21:35
  • @Ben Pearson Hi slightly off topic, but is thre a way to use google services on genymotion? – Utsav Gupta Oct 06 '15 at 18:38
  • @jQwierdy Afraid on Genymotion is the only place I have seen it, so not sure what else to suggest. You could try restarting your device instead of your computer. – Ben Pearson Oct 07 '15 at 13:18
  • Discussion of the emulator graphics acceleration setting http://stackoverflow.com/questions/28966496/android-studio-emulator-eglsurfaceattrib-not-implemented – Walter K Jun 14 '16 at 06:29
1

When creating your emulator, try selecting "Use Host GPU" within the settings.

And if you try testing on a real device you likely, should face the same problem

  • Actually, the suggestion is NOT to chose "Use Host GPU". http://stackoverflow.com/questions/28966496/android-studio-emulator-eglsurfaceattrib-not-implemented – Walter K Jun 14 '16 at 06:16