[LayaAir 2.0]使用layaide构建的安卓项目打包apk,安装在某些设备上会闪退

以下是错误日志:
   This device supports vao
    download thread num = 3
04-18 17:26:51.141 1371-1402/com.etvtech.pvsz I/LayaBox: start thread:image decode,1402
04-18 17:26:51.151 1371-1371/com.etvtech.pvsz I/LayaBox: createOpenALSource current num=10
04-18 17:26:51.151 1371-1371/com.etvtech.pvsz E/LayaGameEngine: game_plugin_init soPath= jarfile= appcache=/data/data/com.etvtech.pvsz/
    game_plugin_get_view
04-18 17:26:51.161 1371-1371/com.etvtech.pvsz I/LayaBox: JNI OnAppResume
04-18 17:26:51.161 1371-1371/com.etvtech.pvsz E/LayaBox: >>>>>>>>>>>>>>>>>>>>>>>>>>>>className:layaair.game.utility.LayaAudioMusic,methodName:resumeBackgroundMusic
    >>>>>>>>>>>>before
    >>>>>>>>>>>>after
04-18 17:26:51.171 1371-1371/com.etvtech.pvsz I/Choreographer: Skipped 31 frames!  The application may be doing too much work on its main thread.
04-18 17:26:51.201 1371-1371/com.etvtech.pvsz D/OpenGLRenderer: Enabling debug mode 0
04-18 17:26:51.241 1371-1384/com.etvtech.pvsz W/dalvikvm: threadid=11: thread exiting with uncaught exception (group=0x41d67ba8)
04-18 17:26:51.241 1371-1384/com.etvtech.pvsz E/AndroidRuntime: *** FATAL EXCEPTION TIME : 55.148735
04-18 17:26:51.251 1371-1371/com.etvtech.pvsz I/0: >>>>>>>>>>>>>The network has changed
04-18 17:26:51.251 1371-1371/com.etvtech.pvsz I/0: connected type=5
04-18 17:26:51.251 1371-1384/com.etvtech.pvsz E/AndroidRuntime: FATAL EXCEPTION: GLThread 72
    Process: com.etvtech.pvsz, PID: 1371
    java.lang.RuntimeException: createContext failed: EGL_BAD_ATTRIBUTE
        at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1193)
        at android.opengl.GLSurfaceView$EglHelper.throwEglException(GLSurfaceView.java:1184)
        at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1034)
        at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1401)
        at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
有日志可以发生运行时异常, 似乎与设备底层渲染模式有关, layaide所构建的安卓项目导出的apk不支持相关的渲染模式,相关异常如下图
QQ截图20190418172951.png

 
已邀请:

rabee

赞同来自:

你这个是在什么机子上运营会这样呢?

要回复问题请先

商务合作
商务合作