软件是监控类软件,需要用到很多opengl对象。其他手机没有问题,但是不知道为什么小米4就会出现这个异常,google了很久都不知道怎么解决,不知道大家是否遇到过这个问题
E/EGLImpl ( 7668): java.lang.Throwable: Too many egl contexts created !
E/EGLImpl ( 7668): at com.google.android.gles_jni.EGLImpl.checkEglContextCount(EGLImpl.java:77)
E/EGLImpl ( 7668): at com.google.android.gles_jni.EGLImpl.eglCreateContext(EGLImpl.java:67)
E/EGLImpl ( 7668): at android.opengl.GLSurfaceView$DefaultContextFactory.createContext(GLSurfaceView.java:771)
E/EGLImpl ( 7668): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1030)
E/EGLImpl ( 7668): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1401)
E/EGLImpl ( 7668): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
闭关修行中......