Android下Logcat打印WIN DEATH日志怎么回事
1个回答
2016-03-23 · 做真实的自己 用良心做教育
千锋教育
千锋教育专注HTML5大前端、JavaEE、Python、人工智能、UI&UE、云计算、全栈软件测试、大数据、物联网+嵌入式、Unity游戏开发、网络安全、互联网营销、Go语言等培训教育。
向TA提问
关注
展开全部
1、你这个问题的原因很有可能是因为——SDK版本比调试设备低,换个高点版本的SDK就好了。
2、参考如下代码
WIN DEATH:Window{406d0988 SurfaceView paused=false}
Process com.xxx.xxx(pid 2901) has died.
WIN DEATH:Window(4074b170 com.xxx.xxx/com.xxx.xxx.MainActivity paused=true}
Got RemoteException sending setActive(false) notification to pid 2901 uid 1000
Application is not responding:Window{4063ab48 com.android.launcher/com.android.launcher2.launcher paused=false}. 5008.4ms since event,500.0ms since wait started
Launcher timeout has expired,giving up wake lock!
Activity idle timeout for HistoryRecord{40583b38 com.android.launcher/com.android.launcher2.launcher}
2、参考如下代码
WIN DEATH:Window{406d0988 SurfaceView paused=false}
Process com.xxx.xxx(pid 2901) has died.
WIN DEATH:Window(4074b170 com.xxx.xxx/com.xxx.xxx.MainActivity paused=true}
Got RemoteException sending setActive(false) notification to pid 2901 uid 1000
Application is not responding:Window{4063ab48 com.android.launcher/com.android.launcher2.launcher paused=false}. 5008.4ms since event,500.0ms since wait started
Launcher timeout has expired,giving up wake lock!
Activity idle timeout for HistoryRecord{40583b38 com.android.launcher/com.android.launcher2.launcher}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询