0

Every time I run my program, Android studio gives me these errors:

10-26 16:45:51.020 5758-5781/com.example.mm.myapplicationW/EGL_emulation:eglSurfaceAttrib not implemented
10-26 16:45:51.020 5758-5781/com.example.mm.myapplication W/OpenGLRenderer: Failed to set EGL_SWAP_BEHAVIOR on surface 0x7f3f88dab6c0, error=EGL_SUCCESS

What is the reason for this? The program works on the emulator but I get these errors every time I click on a button

Bob
  • 3
  • 1
  • 6
  • Possible duplicate of [Android Studio - Emulator - eglSurfaceAttrib not implemented](http://stackoverflow.com/questions/28966496/android-studio-emulator-eglsurfaceattrib-not-implemented) – Seamlyit Feb 03 '17 at 15:34

2 Answers2

1

It might be emulator not having enough memory to load all of the startup data.

See https://teamtreehouse.com/community/i-am-running-my-emulator-and-receiving-this-error-message

Jiri Tousek
  • 12,211
  • 5
  • 29
  • 43
JieTampere
  • 11
  • 2
1
  1. Check for your functions writing upper and lower cases
  2. Check for the scopes
  3. If you have buttons check for its on click value
Blue
  • 22,608
  • 7
  • 62
  • 92