Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

E/libEGL: validate_display:255 error 3008 (EGL_BAD_DISPLAY) on Nexus 9 + Android 6

I'm porting an old big application in Cordova 3.4, from Eclipse to Android Studio because this application used a library that now has been updated in Android 6.

After some issues with build.gradle and settings.gradle, the App builds, runs and I can make the apk. Every thing works fine on devices with Android 5.

With Android 6 on Nexus 9 the app crashes, with a white screen with this error:

E/libEGL: validate_display:255 error 3008 (EGL_BAD_DISPLAY)

On Internet I've found few answers to this problem, I've tried to work on images resolution, but the problem is not solved. The post Error “validate_display:255 error 3008 (EGL_BAD_DISPLAY)” by Tutorial does not work for me.

like image 515
Anchor Avatar asked May 06 '16 12:05

Anchor


1 Answers

In layout.xml,maybe u defined a GLSurfaceView or other View to put your image in.

Is it right?

So if u put the image to your whole screen, the error wouldn`t be occured.

like image 106
Nino Liang Avatar answered Oct 26 '22 04:10

Nino Liang