重现:
在游戏中—>查看push并点击push—>回到游戏(log输出了cocos_android_app_init)—>退出游戏(调用cc.Director:getInstance():endToLua())—>看到启动页面,游戏重启了
回到游戏时间的log:
01-06 08:00:21.676 5636-5636/com.xxx.xxx123 D/dalvikvm﹕ GC_EXPLICIT freed 940K, 52% free 3754K/7751K, external 1727K/2108K, paused 59ms
01-06 08:00:47.726 5636-5636/com.xxx.xxx123 D/dalvikvm﹕ Trying to load lib /data/data/com.xxx.xxx123/lib/libcocos2dlua.so 0x40513a58
01-06 08:00:47.726 5636-5636/com.xxx.xxx123 D/dalvikvm﹕ Shared lib ‘/data/data/com.xxx.xxx123/lib/libcocos2dlua.so’ already loaded in same CL 0x40513a58
01-06 08:00:47.726 5636-5636/com.xxx.xxx123 D/main﹕ cocos_android_app_init
01-06 08:00:47.726 5636-5636/com.xxx.xxx123 D/Cocos2dxActivity﹕ model=GT-I9000
01-06 08:00:47.726 5636-5636/com.xxx.xxx123 D/Cocos2dxActivity﹕ product=GT-I9000
01-06 08:00:47.726 5636-5636/com.xxx.xxx123 D/Cocos2dxActivity﹕ isEmulator=false
01-06 08:00:47.756 5636-5829/com.xxx.xxx123 I/GLThread﹕ noticed surfaceView surface lost tid=30
01-06 08:00:47.900 5636-5636/com.xxx.xxx123 I/GLThread﹕ onResume tid=30
01-06 08:00:48.026 5636-5829/com.xxx.xxx123 I/GLThread﹕ noticed surfaceView surface acquired tid=30
01-06 08:00:48.026 5636-5829/com.xxx.xxx123 W/EglHelper﹕ start() tid=30
01-06 08:00:48.100 5636-5829/com.xxx.xxx123 W/EglHelper﹕ createContext com.google.android.gles_jni.EGLContextImpl@4057e0c0 tid=30
01-06 08:00:48.100 5636-5829/com.xxx.xxx123 I/GLThread﹕ noticing that we want render notification tid=30
01-06 08:00:48.100 5636-5829/com.xxx.xxx123 W/GLThread﹕ egl createSurface
01-06 08:00:48.100 5636-5829/com.xxx.xxx123 W/EglHelper﹕ createSurface() tid=30
01-06 08:00:48.136 5636-5666/com.xxx.xxx123 D/MobclickAgent﹕ App resume from background
01-06 08:00:48.163 5636-5829/com.xxx.xxx123 W/GLThread﹕ onSurfaceCreated
01-06 08:00:49.740 5636-5638/com.xxx.xxx123 D/dalvikvm﹕ GC_CONCURRENT freed 321K, 45% free 4317K/7751K, external 1628K/2108K, paused 30ms+21ms
01-06 08:00:51.303 5636-5829/com.xxx.xxx123 W/GLThread﹕ onSurfaceChanged(800, 480)
01-06 08:00:51.316 5636-5829/com.xxx.xxx123 I/GLThread﹕ sending render notification tid=30
01-06 08:00:51.363 5636-5829/com.xxx.xxx123 D/JniHelper﹕ JniHelper::getJavaVM(), pthread_self() = 7250992
01-06 08:00:51.366 5636-5829/com.xxx.xxx123 W/dalvikvm﹕ JNI WARNING: DeleteLocalRef(0x4062e2c0) failed to find entry (valid=1)
01-06 08:00:51.366 5636-5829/com.xxx.xxx123 D/JniHelper﹕ JniHelper::getJavaVM(), pthread_self() = 7250992
01-06 08:00:52.060 5636-5829/com.xxx.xxx123 D/JniHelper﹕ JniHelper::getJavaVM(), pthread_self() = 7250992
01-06 08:00:52.113 5636-5829/com.xxx.xxx123 D/JniHelper﹕ JniHelper::getJavaVM(), pthread_self() = 7250992
01-06 08:00:52.113 5636-5829/com.xxx.xxx123 D/JniHelper﹕ JniHelper::getJavaVM(), pthread_self() = 7250992