程序出错Unable to start activity ComponentInfo java.lang.RuntimeException: Unable to start activity ComponentInfo{com.imohoo.RushMonkey/com.imohoo.RushMonkey.PlayExit}: java.lang.NullPointerException这是由于什么原因造成的? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 12-21 13:40:20.084: E/AndroidRuntime(6475): java.lang.NullPointerException12-21 13:40:20.084: E/AndroidRuntime(6475): at cn.emagsoftware.api.GameInterface.exit(GameInterface.java:68)12-21 13:40:20.084: E/AndroidRuntime(6475): at com.imohoo.BreakBrick_Android.BBActivity.FromUnityCallExit(BBActivity.java:38)12-21 13:40:20.084: E/AndroidRuntime(6475): at com.unity3d.player.UnityPlayer.nativeRender(Native Method)12-21 13:40:20.084: E/AndroidRuntime(6475): at com.unity3d.player.UnityPlayer.onDrawFrame(Unknown Source)12-21 13:40:20.084: E/AndroidRuntime(6475): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1363)12-21 13:40:20.084: E/AndroidRuntime(6475): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1118) 看一下GameInterface.java68行应该是空指针,具体原因自己分析 5楼正解:java.lang.NullPointerException。报了空指针了。 我也知道是空指针,可是GameInterface是SDK内部的东西,反编译了看了一下,又没什么问题,唉。 求助!!!getString()返回的值是字符创类型吗? S5PV210上跑ICS的显卡(PVR)问题请教 android 音频部分 开发板 android播放器中,解析rm格式 Activity弹出Dialog的问题 android求职 viewpager 滑动的时候有没有什么特效啊 android4.0使用panoramagl开发出现signal 11 (SIGSEGV), code 1 (SEGV_MAPERR)错误 关于实现点击图片变亮(或则其他变化)的问题 java运行环境的问题! Android 软键盘样式的指定方法 我这个空指针异常是在哪里出现的?
12-21 13:40:20.084: E/AndroidRuntime(6475): at cn.emagsoftware.api.GameInterface.exit(GameInterface.java:68)
12-21 13:40:20.084: E/AndroidRuntime(6475): at com.imohoo.BreakBrick_Android.BBActivity.FromUnityCallExit(BBActivity.java:38)
12-21 13:40:20.084: E/AndroidRuntime(6475): at com.unity3d.player.UnityPlayer.nativeRender(Native Method)
12-21 13:40:20.084: E/AndroidRuntime(6475): at com.unity3d.player.UnityPlayer.onDrawFrame(Unknown Source)
12-21 13:40:20.084: E/AndroidRuntime(6475): at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1363)
12-21 13:40:20.084: E/AndroidRuntime(6475): at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1118)
java.lang.NullPointerException。
报了空指针了。