我正在为Android开发此游戏。我正在学习如何制作菜单的教程。这是代码。代码中没有错误警告,所以我不知道该怎么做。
08-23 21:31:41.099: E/System(79): Failure starting core service
08-23 21:31:41.099: E/System(79): java.lang.SecurityException
08-23 21:31:41.099: E/System(79): at android.os.BinderProxy.transact(Native Method)
08-23 21:31:41.099: E/System(79): at android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:146)
08-23 21:31:41.099: E/System(79): at android.os.ServiceManager.addService(ServiceManager.java:72)
08-23 21:31:41.099: E/System(79): at com.android.server.ServerThread.run(SystemServer.java:206)
08-23 21:31:41.139: E/EventHub(79): could not get driver version for /dev/input/mouse0, Not a typewriter
08-23 21:31:41.139: E/EventHub(79): could not get driver version for /dev/input/mice, Not a typewriter
08-23 21:31:42.049: E/SoundPool(79): error loading /system/media/audio/ui/Effect_Tick.ogg
08-23 21:31:42.049: E/SoundPool(79): error loading /system/media/audio/ui/KeypressStandard.ogg
08-23 21:31:42.069: E/SoundPool(79): error loading /system/media/audio/ui/KeypressSpacebar.ogg
08-23 21:31:42.069: E/SoundPool(79): error loading /system/media/audio/ui/KeypressDelete.ogg
08-23 21:31:42.079: E/SoundPool(79): error loading /system/media/audio/ui/KeypressReturn.ogg
08-23 21:31:42.159: E/UsbObserver(79): java.lang.NullPointerException
08-23 21:31:42.159: E/UsbObserver(79): at com.android.server.UsbObserver.init(UsbObserver.java:131)
08-23 21:31:42.159: E/UsbObserver(79): at com.android.server.UsbObserver.<init>(UsbObserver.java:65)
08-23 21:31:42.159: E/UsbObserver(79): at com.android.server.ServerThread.run(SystemServer.java:402)
08-23 21:31:47.820: E/ThrottleService(79): Could not open GPS configuration file /etc/gps.conf
08-23 21:31:47.880: E/ThrottleService(79): Error reading data file
08-23 21:31:49.250: E/logwrapper(194): executing /system/bin/tc failed: No such file or directory
08-23 21:31:49.320: E/logwrapper(195): executing /system/bin/tc failed: No such file or directory
08-23 21:31:49.370: E/logwrapper(196): executing /system/bin/tc failed: No such file or directory
08-23 21:31:57.759: E/logwrapper(225): executing /system/bin/tc failed: No such file or directory
08-23 21:31:57.889: E/logwrapper(226): executing /system/bin/tc failed: No such file or directory
08-23 21:31:58.000: E/logwrapper(227): executing /system/bin/tc failed: No such file or directory
08-23 21:32:41.593: E/MetadataRetrieverClient(34): failed to extract an album art
08-23 21:33:17.502: E/ThrottleService(79): Error reading data file
08-23 22:06:08.702: E/AndroidRuntime(414): FATAL EXCEPTION: GLThread 13
08-23 22:06:08.702: E/AndroidRuntime(414): java.lang.IllegalArgumentException: No EGLConfig found!
08-23 22:06:08.702: E/AndroidRuntime(414): at org.andengine.opengl.view.ConfigChooser.chooseConfig(ConfigChooser.java:183)
08-23 22:06:08.702: E/AndroidRuntime(414): at org.andengine.opengl.view.ConfigChooser.chooseConfig(ConfigChooser.java:157)
08-23 22:06:08.702: E/AndroidRuntime(414): at android.opengl.GLSurfaceView$EglHelper.start(GLSurfaceView.java:919)
08-23 22:06:08.702: E/AndroidRuntime(414): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1264)
08-23 22:06:08.702: E/AndroidRuntime(414): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1118)
答案 0 :(得分:0)
如果你在模拟器中尝试这个 - 它可能没有正确配置。请参阅我对此问题的回答 - Android AndEngine problems: java.lang.IllegalArgumentException: No EGLConfig Found
答案 1 :(得分:-2)
已更改目标SDK,启用GPU主机,处理器到Intel。仍然有错误
08-25 01:41:48.889:ERROR / Zygote(793):setreuid()失败。错误:30 08-25 01:42:01.820:ERROR / Zygote(793):setreuid()失败。错误:30 08-25 01:42:04.430:ERROR / BatteryService(853):找不到acOnlinePath 08-25 01:42:04.430:ERROR / BatteryService(853):找不到usbOnlinePath 08-25 01:42:04.430:ERROR / BatteryService(853):找不到batteryStatusPath 08-25 01:42:04.430:ERROR / BatteryService(853):找不到batteryHealthPath 08-25 01:42:04.430:ERROR / BatteryService(853):找不到batteryPresentPath 08-25 01:42:04.430:ERROR / BatteryService(853):找不到batteryCapacityPath 08-25 01:42:04.430:ERROR / BatteryService(853):找不到batteryVoltagePath 08-25 01:42:04.430:ERROR / BatteryService(853):找不到batteryTemperaturePath 08-25 01:42:04.430:ERROR / BatteryService(853):找不到batteryTechnologyPath 08-25 01:42:04.770:ERROR / EGL_emulation(853):rcMakeCurrent返回EGL_FALSE 08-25 01:42:04.770:ERROR / EGL_emulation(853):tid 874:eglMakeCurrent(984):错误0x3006(EGL_BAD_CONTEXT)
08-25 01:42:04.770:ERROR / libEGL(853):调用OpenGL ES API,没有当前上下文(每个线程记录一次)
08-25 01:42:04.770:ERROR / libEGL(853):调用OpenGL ES API,没有当前上下文(每个线程记录一次)
08-25 01:42:04.770:ERROR / libEGL(853):调用OpenGL ES API,没有当前上下文(每个线程记录一次)
08-25 01:42:04.770:ERROR / libEGL(853):调用OpenGL ES API,没有当前上下文(每个线程记录一次)
08-25 01:43:01.773:ERROR / Zygote(889):setreuid()失败。错误:30