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,388
  • 1
  • 14
  • 19

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,532
  • 4
  • 30
  • 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

Kevin Michael
  • 118
  • 1
  • 7
  • 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