在使用cocos2d-x开发Android项目时,使用Eclipse + ADT运行模拟器时出现以下错误:
FATAL EXCEPTION: GLThread 56
Process: com.louis, PID: 825
java.lang.IllegalArgumentException: No configs match configSpec
at android.opengl.GLSurfaceView$BaseConfigChooser.chooseConfig(GLSurfaceView.java:863)
at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:1024)
at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1401)
at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1240)
在AVD模拟器编辑面板的最下方,选中Emulation Options: 的Use Host GPU选项即可。
时间: 2024-10-18 02:16:08