E/libEGL:Nexus 9 + Android 6上的validate_display:255错误3008(EGL_BAD_DISPLAY) [英] E/libEGL: validate_display:255 error 3008 (EGL_BAD_DISPLAY) on Nexus 9 + Android 6
问题描述
我正在将Cordova 3.4中的一个旧的大型应用程序从Eclipse移植到Android Studio,因为该应用程序使用的库现已在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.
在build.gradle和settings.gradle出现一些问题之后,该应用程序可以构建,运行,并且可以制作apk. 在装有Android 5的设备上,一切正常.
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.
在Nexus 9上使用Android 6时,应用崩溃,并出现白色屏幕,并显示以下错误:
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)
在Internet上,我发现此问题的答案很少,我尝试进行图像分辨率的工作,但问题仍未解决. 帖子错误"validate_display:255错误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.
推荐答案
也许在layout.xml中,您定义了GLSurfaceView或其他View来放置图像.
In layout.xml,maybe u defined a GLSurfaceView or other View to put your image in.
对吗?
因此,如果您将图像放到整个屏幕上,就不会发生错误.
So if u put the image to your whole screen, the error wouldn`t be occured.
这篇关于E/libEGL:Nexus 9 + Android 6上的validate_display:255错误3008(EGL_BAD_DISPLAY)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!