App crashes immediately after start giving fatal exception : main at logCat.

Hello,
I was doing very well with my app but one day suddenly I faced this unexpected error that The app builds and runs successfully but it crashes as soon as it starts giving the logcat error -

02-12 15:42:36.209: E/AndroidRuntime(7048): FATAL EXCEPTION: main
02-12 15:42:36.209: E/AndroidRuntime(7048): java.lang.RuntimeException: Unable to resume activity {org.cocos2dx.simplegame/org.cocos2dx.simplegame.SimpleGame}: java.lang.NullPointerException
02-12 15:42:36.209: E/AndroidRuntime(7048): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2458)
02-12 15:42:36.209: E/AndroidRuntime(7048): at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:2486)
02-12 15:42:36.209: E/AndroidRuntime(7048): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2000)
02-12 15:42:36.209: E/AndroidRuntime(7048): at android.app.ActivityThread.access$600(ActivityThread.java:128)
02-12 15:42:36.209: E/AndroidRuntime(7048): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1161)
02-12 15:42:36.209: E/AndroidRuntime(7048): at android.os.Handler.dispatchMessage(Handler.java:99)
02-12 15:42:36.209: E/AndroidRuntime(7048): at android.os.Looper.loop(Looper.java:137)
02-12 15:42:36.209: E/AndroidRuntime(7048): at android.app.ActivityThread.main(ActivityThread.java:4517)
02-12 15:42:36.209: E/AndroidRuntime(7048): at java.lang.reflect.Method.invokeNative(Native Method)
02-12 15:42:36.209: E/AndroidRuntime(7048): at java.lang.reflect.Method.invoke(Method.java:511)
02-12 15:42:36.209: E/AndroidRuntime(7048): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:993)
02-12 15:42:36.209: E/AndroidRuntime(7048): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:760)
02-12 15:42:36.209: E/AndroidRuntime(7048): at de.robv.android.xposed.XposedBridge.main(XposedBridge.java:126)
02-12 15:42:36.209: E/AndroidRuntime(7048): at dalvik.system.NativeStart.main(Native Method)
02-12 15:42:36.209: E/AndroidRuntime(7048): Caused by: java.lang.NullPointerException
02-12 15:42:36.209: E/AndroidRuntime(7048): at android.opengl.GLSurfaceView.onResume(GLSurfaceView.java:550)
02-12 15:42:36.209: E/AndroidRuntime(7048): at org.cocos2dx.lib.Cocos2dxGLSurfaceView.onResume(Cocos2dxGLSurfaceView.java:160)
02-12 15:42:36.209: E/AndroidRuntime(7048): at org.cocos2dx.lib.Cocos2dxActivity.onResume(Cocos2dxActivity.java:84)
02-12 15:42:36.209: E/AndroidRuntime(7048): at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1158)
02-12 15:42:36.209: E/AndroidRuntime(7048): at android.app.Activity.performResume(Activity.java:4544)
02-12 15:42:36.209: E/AndroidRuntime(7048): at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2448)
02-12 15:42:36.209: E/AndroidRuntime(7048): … 13 more

I really have no clue what is causing this. Ive done everything: Restarted eclipse, cleaned my project , refreshed it , rebuild cocos2dx project and many more but no help. Please help!!

Did .so is generated correctly?

@einst31n I am facing exact same problem. Please tell me how you get rid of this problem?

hi,could you post more detail message?
such as :

  • what’s the engine version?
  • does the problem occur on Android real device or Android emulator?