我们的应用程序正在崩溃的豆豆手机(并非全部),我们完全无能为力。它可以通过电话重复,在logcat中没有任何东西(我们的代码中没有异常或jni崩溃):
03-07 13:07:33.506: I/WindowState(1660): WIN DEATH: Window{4115b0c0 com.mapfactor.navigator/com.mapfactor.navigator.map.MapActivity paused=false}
03-07 13:07:33.506: W/InputDispatcher(1660): channel '4115b0c0 com.mapfactor.navigator/com.mapfactor.navigator.map.MapActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
03-07 13:07:33.506: I/ActivityManager(1660): Process com.mapfactor.navigator (pid 3248) has died.
03-07 13:07:33.506: E/InputDispatcher(1660): channel '4115b0c0 com.mapfactor.navigator/com.mapfactor.navigator.map.MapActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
03-07 13:07:33.506: W/InputDispatcher(1660): Attempted to unregister already unregistered input channel '4115b0c0 com.mapfactor.navigator/com.mapfactor.navigator.map.MapActivity (server)'
03-07 13:07:33.506: W/WindowManager(1660): Force-removing child win Window{40f34610 SurfaceView paused=false} from container Window{4115b0c0 com.mapfactor.navigator/com.mapfactor.navigator.map.MapActivity paused=false}
03-07 13:07:33.506: I/LocationManagerService(1660): remove gps (pid 1660), disabled
03-07 13:07:33.506: I/LocationManagerService(1660): remove network (pid 1660), next minTime = 86400000
03-07 13:07:33.506: W/GpsLocationProvider(1660): Unneeded remove listener for uid 1000
...
03-07 13:07:33.506: W/WindowManager(1660): Failed looking up window
03-07 13:07:33.506: W/WindowManager(1660): java.lang.IllegalArgumentException: Requested window android.os.BinderProxy@40e2e780 does not exist
03-07 13:07:33.506: W/WindowManager(1660): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7675)
03-07 13:07:33.506: W/WindowManager(1660): at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:7666)
03-07 13:07:33.506: W/WindowManager(1660): at com.android.server.wm.WindowState$DeathRecipient.binderDied(WindowState.java:854)
03-07 13:07:33.506: W/WindowManager(1660): at android.os.BinderProxy.sendDeathNotice(Binder.java:449)
03-07 13:07:33.506: W/WindowManager(1660): at dalvik.system.NativeStart.run(Native Method)
03-07 13:07:33.506: I/WindowState(1660): WIN DEATH: null
03-07 13:07:33.506: I/WindowManager(1660): WINDOW DIED Window{4115b0c0 com.mapfactor.navigator/com.mapfactor.navigator.map.MapActivity paused=false}
答案 0 :(得分:0)
只是一个想法:您是否已在设置>中停用了"Don't keep activities", "Destroy every activity as soon as the user leaves it"
开发者选项屏幕?
答案 1 :(得分:0)
可能,但不太可能看你的logcat。
只是把这个建议抛到空中:基于第一行,您是不是停止消耗像GPS这样的昂贵资源?您是否正在使用暂停代码做一些奇怪的事情?
因此,基于第2行和第5行,似乎是一个IOError(不确定为什么不引发IOException)。