晚上好!
我一直在修补AndEngine,以便在Android中进行游戏开发.我尝试运行使用AndEngine的Hanoi塔游戏应用程序,但是当我在模拟器中运行该错误时,上述错误仍在运行.这是LogCat:
09-05 21:34:00.948: D/dalvikvm(633): No JNI_OnLoad found in /data/data/com.tutorial.towerofhanoi/lib/libandengine.so 0x4101f730, skipPing init09-05 21:34:01.017: D/AndEngine(633): TowerOfHanoiActivity.onResume @(Thread: 'main')09-05 21:34:01.067: I/dalvikvm(633): threadID=3: reacting to signal 309-05 21:34:01.137: I/dalvikvm(633): Wrote stack traces to '/data/anr/traces.txt'09-05 21:34:01.207: D/libEGL(633): Emulator without GPU support detected. Fallback to software renderer.09-05 21:34:01.207: D/libEGL(633): loaded /system/lib/egl/libGLES_androID.so09-05 21:34:01.238: W/dalvikvm(633): threadID=12: thread exiting with uncaught exception (group=0x409c01f8)09-05 21:34:01.297: E/AndroIDRuntime(633): FATAL EXCEPTION: GLThread 8509-05 21:34:01.297: E/AndroIDRuntime(633): java.lang.IllegalArgumentException: No EGLConfig found!09-05 21:34:01.297: E/AndroIDRuntime(633): at org.andengine.opengl.vIEw.ConfigChooser.chooseConfig(ConfigChooser.java:183)09-05 21:34:01.297: E/AndroIDRuntime(633): at org.andengine.opengl.vIEw.ConfigChooser.chooseConfig(ConfigChooser.java:157)09-05 21:34:01.297: E/AndroIDRuntime(633): at androID.opengl.GLSurfaceVIEw$EglHelper.start(GLSurfaceVIEw.java:1009)09-05 21:34:01.297: E/AndroIDRuntime(633): at androID.opengl.GLSurfaceVIEw$GLThread.guardedRun(GLSurfaceVIEw.java:1362)09-05 21:34:01.297: E/AndroIDRuntime(633): at androID.opengl.GLSurfaceVIEw$GLThread.run(GLSurfaceVIEw.java:1216)09-05 21:34:01.309: D/gralloc_goldfish(633): Emulator without GPU emulation detected.09-05 21:34:01.497: D/AndEngine(633): TowerOfHanoiActivity.onPause @(Thread: 'main')09-05 21:34:03.867: I/Process(633): Sending signal. PID: 633 SIG: 9
受错误影响的代码行在AndEngine库本身中,尤其是以下行:
throw new IllegalArgumentException("No " + EGLConfig.class.getSimplename() + " found!");
屏幕截图显示了我正在构建的目标.这是API15 AndroID 4.0.3
我该如何补救?
解决方法:
我认为问题在于这条线
09-05 21:34:01.207:D / libEGL(633):未检测到GPU支持的仿真器.退回到软件渲染器.
重新创建或编辑模拟器,并确保在硬件列表下
GPU仿真设置为是
总结以上是内存溢出为你收集整理的Android AndEngine问题:java.lang.IllegalArgumentException:未找到EGLConfig全部内容,希望文章能够帮你解决Android AndEngine问题:java.lang.IllegalArgumentException:未找到EGLConfig所遇到的程序开发问题。
如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)