启动超时已过期,放弃唤醒锁!活动空闲超时时间为HistoryRecord。这是什么可担心的? [英] Launch timeout has expired, giving up wake lock! Activity idle timeout for HistoryRecord. Is this something to worry about?

查看:287
本文介绍了启动超时已过期,放弃唤醒锁!活动空闲超时时间为HistoryRecord。这是什么可担心的?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序使用的AsyncTask 的OnCreate 。有时我得到启动超时已过期,放弃唤醒锁!活动空闲超时时间为HistoryRecord在日志中。可这造成任何问题,或者我们可以忽略这一点?

In my application I use AsyncTask in oncreate. Sometimes I get "Launch timeout has expired, giving up wake lock! Activity idle timeout for HistoryRecord" in the logs. Can this cause any issue, or we can just ignore this ?

推荐答案

终于找到了答案。 这可以被忽略。

Finally Found the answer. This can be ignored.

这意味着你的主线程不断运行,通过消息队列抽消息没有以往任何时候都处于闲置状态。如果这是你想要什么,有什么解决。这就是为什么日志消息是一个警告,而不是错误。

This means that your main thread is continually running, pumping message through its message queue without ever going idle. If that is what you want, there is nothing to fix. This is why the log message is a warning, not an error.

来源:谷歌论坛

这篇关于启动超时已过期,放弃唤醒锁!活动空闲超时时间为HistoryRecord。这是什么可担心的?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆