I am stuck at this thing for 2 days and after everything I found some exception during finishing of app , here are the logs
09-30 23:14:46.260 32059 32094 D JniHelper: JniHelper::getJavaVM(), pthread_self() = -570971856
09-30 23:14:46.277 4983 4983 I StatusBarIconController: appTransitionPending
09-30 23:14:46.304 1638 5411 I ActivityManager_Thumbnails: Setting thumbnail of ActivityRecord{67d958e u0 com.example.rummytest/org.cocos2dx.javascript.AppActivity t816 f} to android.graphics.Bitmap@7a2a26d
09-30 23:14:46.306 32059 32059 D Cocos2dxActivity: onPause()
09-30 23:14:46.310 32059 32119 E AbstractTracker: Can’t create handler inside thread that has not called Looper.prepare()
09-30 23:14:46.311 32059 32119 D AppTracker: App Event: stop
09-30 23:14:46.312 4983 4983 I StatusBarIconController: appTransitionPending
09-30 23:14:46.333 32059 32120 E AbstractTracker: Can’t create handler inside thread that has not called Looper.prepare()
09-30 23:14:46.333 32059 32120 D AppTracker: App Event: start
09-30 23:14:46.370 356 356 W auditd : type=1400 "Binder_6"“socket:[3018984]”“sockfs”
09-30 23:14:46.371 356 356 W auditd : type=1400 "Binder_6"“socket:[3018984]”“sockfs”
09-30 23:14:46.370 5273 5273 I GoogleInputMethod: onFinishInput() : Dummy InputConnection bound
09-30 23:14:46.371 5273 5273 I GoogleInputMethod: onStartInput() : Dummy InputConnection bound
09-30 23:14:46.419 4983 4983 I StatusBarIconController: animateIconTint:0.0 mDarkIntensity:0.0
09-30 23:14:46.422 4983 4983 D BarBackgroundDrawable: BarTransitions: draw: mode=MODE_TRANSPARENT, targetColor=0x0
09-30 23:14:46.428 4983 4983 I StatusBarIconController: appTransitionStarting
09-30 23:14:46.431 32059 32059 D Cocos2dxActivity: onWindowFocusChanged() hasFocus=false
09-30 23:14:46.619 1638 1669 I art : Background partial concurrent mark sweep GC freed 11538(648KB) AllocSpace objects, 5(100KB) LOS objects, 25% free, 46MB/62MB, paused 3.061ms total 323.439ms
09-30 23:14:47.133 32059 32059 D Cocos2dxActivity: Cocos2dxActivity onDestroy: org.cocos2dx.javascript.AppActivity@bbfa861, mGLSurfaceVieworg.cocos2dx.lib.Cocos2dxGLSurfaceView{26bcf64 VFE… .F…I. 0,0-1920,1080}
09-30 23:14:47.133 32059 32059 I Process : Sending signal. PID: 32059 SIG: 9
09-30 23:14:47.186 1638 5415 D GraphicsStats: Buffer count: 4
09-30 23:14:47.187 1638 6039 I ActivityManager: Process com.example.rummytest (pid 32059) has died
09-30 23:14:47.187 1638 6039 D ActivityManager: cleanUpApplicationRecord – 32059
09-30 23:14:47.187 1638 5411 I WindowState: WIN DEATH: Window{6fc8fcf u0 com.example.rummytest/com.example.rummytest.MainActivity2}
09-30 23:14:47.187 1638 2057 V ActivityManager: killProcessGroupAsync took 0 ms for PID 32059 on thread 14
09-30 23:14:47.191 1638 5499 I WindowState: WIN DEATH: Window{e4e4742 u0 com.example.rummytest/com.example.rummytest.MainActivity3}
09-30 23:14:47.195 1638 5360 I WindowState: WIN DEATH: Window{9c2404a u0 com.example.rummytest/org.cocos2dx.javascript.AppActivity}
09-30 23:14:47.195 1638 5360 W WindowManager: Force-removing child win Window{b934ffa u0 SurfaceView} from container Window{9c2404a u0 com.example.rummytest/org.cocos2dx.javascript.AppActivity}
09-30 23:14:47.206 1638 5361 W WindowManager: Failed looking up window
09-30 23:14:47.206 1638 5361 W WindowManager: java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@a881bbb does not exist
09-30 23:14:47.206 1638 5361 W WindowManager: at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8885)
09-30 23:14:47.206 1638 5361 W WindowManager: at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8876)
09-30 23:14:47.206 1638 5361 W WindowManager: at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1216)
09-30 23:14:47.206 1638 5361 W WindowManager: at android.os.BinderProxy.sendDeathNotice(Binder.java:591)
09-30 23:14:47.206 1638 5361 I WindowState: WIN DEATH: null
09-30 23:14:47.206 1638 6039 W ActivityManager: Force removing ActivityRecord{7c11bf4 u0 com.example.rummytest/.MainActivity3 t815}: app died, no saved state
09-30 23:14:47.222 32121 32121 I art : Late-enabling -Xcheck:jni
09-30 23:14:47.223 1638 6039 V BoostFramework: BoostFramework() : mPerf = com.qualcomm.qti.Performance@57369ab
09-30 23:14:47.223 1638 6039 I ActivityManager: Start proc 32121:com.example.rummytest/u0a1515 for activity com.example.rummytest/.MainActivity2
09-30 23:14:47.248 4983 4983 I StatusBarIconController: appTransitionPending
09-30 23:14:47.328 4983 4983 D SystemServicesProxy: exclude com.android.packageinstaller
09-30 23:14:47.328 4983 4983 D SystemServicesProxy: exclude android
09-30 23:14:47.328 4983 4983 D SystemServicesProxy: add 2 Task
09-30 23:14:47.329 4983 4983 D RecentsTaskLoadPlan: preloadPlan, 2
09-30 23:14:47.347 32121 32121 W art : Before Android 4.1, method android.graphics.PorterDuffColorFilter androidx.vectordrawable.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
09-30 23:14:47.356 32121 32121 I viewtest: onCreate MainActivity2
09-30 23:14:47.580 32121 32121 I viewtest: view created second fragment second activity
09-30 23:14:47.620 32121 32134 E AbstractTracker: Can’t create handler inside thread that has not called Looper.prepare()
09-30 23:14:47.620 32121 32134 D AppTracker: App Event: start
09-30 23:14:47.626 356 356 W auditd : type=1400 "Binder_1"“socket:[3019062]”“sockfs”
09-30 23:14:47.626 356 356 W auditd : type=1400 "Binder_1"“socket:[3019062]”“sockfs”
09-30 23:14:47.630 356 356 W auditd : type=1400 "Binder_1"“socket:[3019064]”“sockfs”
09-30 23:14:47.630 32121 32135 D OpenGLRenderer: Use EGL_SWAP_BEHAVIOR_PRESERVED: true
09-30 23:14:47.817 1638 2369 I ActivityManager: Displayed com.example.rummytest/.MainActivity2: +610ms
09-30 23:14:47.828 1638 5359 W InputMethodManagerService: Got RemoteException sending setActive(false) notification to pid 32059 uid 11515
09-30 23:14:47.195 1638 5360 W WindowManager: Force-removing child win Window{b934ffa u0 SurfaceView} from container Window{9c2404a u0 com.example.rummytest/org.cocos2dx.javascript.AppActivity} 09-30 23:14:47.206 1638 5361 W WindowManager: Failed looking up window 09-30 23:14:47.206 1638 5361 W WindowManager: java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@a881bbb does not exist
can this be an issue here ?