unity 报错
android 真机报错
I/ActivityManager( 353): Process yourpackagename (pid 8854) has died.
W/ActivityManager( 353): Force removing ActivityRecord{4a9bee94 u0 yourpackagename/com.*.*.NativeHandleActivity t22}: app died, no saved state
W/NetworkManagementSocketTagger( 353): setKernelCountSet(10143, 0) failed with errno -13
I/WindowState( 353): WIN DEATH: Window{4abcc650 u0 yourpackagename/com.*.*.NativeHandleActivity}
W/WindowManager( 353): Force-removing child win Window{4a9addf8 u0 SurfaceView} from container Window{4abcc650 u0 yourpackagename/com.*.*.NativeHandleActivity}
W/WindowManager( 353): Failed looking up window
W/WindowManager( 353): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@4ac0de20 does not exist
W/WindowManager( 353): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8096)
W/WindowManager( 353): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8087)
W/WindowManager( 353): at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:1051)
W/WindowManager( 353): at android.os.BinderProxy.sendDeathNotice(Binder.java:493)
W/WindowManager( 353): at dalvik.system.NativeStart.run(Native Method)
I/WindowState( 353): WIN DEATH: null
I/WindowState( 353): WIN DEATH: Window{4ac27288 u0 Toast}
D/Zygote ( 142): Process 8854 terminated by signal (6)
W/EGL_emulation( 4526): eglSurfaceAttrib not implemented
W/Binder ( 633): Caught a RuntimeException from the binder stub implementation.
W/Binder ( 633): java.lang.NullPointerException
W/Binder ( 633): at android.inputmethodservice.IInputMethodWrapper.setSessionEnabled(IInputMethodWrapper.java:280)
W/Binder ( 633): at com.android.internal.view.IInputMethod$Stub.onTransact(IInputMethod.java:129)
W/Binder ( 633): at android.os.Binder.execTransact(Binder.java:404)
W/Binder ( 633): at dalvik.system.NativeStart.run(Native Method)
W/ContextImpl( 353): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1123 com.android.server.InputMethodManagerService.hideCurrentInputLocked:1880 com.android.server.InputMethodManagerService.windowGainedFocus:1968 com.android.internal.view.IInputMethodManager$Stub.onTransact:221 com.android.server.InputMethodManagerService.onTransact:818
W/InputMethodManagerService( 353): Got RemoteException sending setActive(false) notification to pid 8854 uid 10143
W/NotificationService( 353): Object died trying to hide notification android.app.ITransientNotification Stub Proxy@4ab9fc14 in package ……
检查所有方法是否必须在主线程调用
如协程调用之类的