我从事过去一年的项目。它工作正常,但自从过去两天我发现有线行为。我的应用程序突然关闭,没有显示任何ANR或崩溃警报。该应用程序甚至没有在堆栈中找到,它也从那里清除。在logcat中我找到了这个
WindowManager: Failed looking up window
java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@edac887 does not exist
at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9100)
at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:9091)
at com.android.server.wm.WindowManagerService.removeWindow(WindowManagerService.java:2296)
at com.android.server.wm.Session.remove(Session.java:193)
at android.view.IWindowSession$Stub.onTransact(IWindowSession.java:242)
at com.android.server.wm.Session.onTransact(Session.java:136)
at android.os.Binder.execTransact(Binder.java:565)