Android Studio中出现错误“ WakeLock:GCM_HB_ALARM发布而没有匹配的获取”

时间:2019-04-11 23:09:25

标签: android crash wakelock

我的应用程序崩溃了,我在logcat中收到此错误:

04-11 23:50:51.278 2294-26973/? E/WakeLock: GCM_HB_ALARM release without a 
matched acquire!
04-11 23:50:51.317 2294-4859/? E/ExecutionCriteria: Package unavailable 
 for task: com.viber.voip/.schedule.ViberGcmTaskService{u=0 
tag="json_stickers" 
trigger=window{period=28800s,flex=3600s, 
earliest=-51214144s,latest=-51210544s} requirements=[NET_CONNECTED] 
attributes=[PERSISTED,RECURRING] scheduled=-51239344s last_run=N/A jid=N/A 
status=PENDING retries=0 client_lib=MANCHEGO_GCM-10400000}
04-11 23:50:51.318 2294-4859/? E/ExecutionCriteria: Package unavailable 
for task: com.viber.voip/.schedule.ViberGcmTaskService{u=0 
tag="apps_info_sync" 
trigger=window{period=86400s,flex=21600s, 
earliest=-51174544s,latest=-51152944s} requirements=[NET_CONNECTED] 
attributes=[PERSISTED,RECURRING] scheduled=-51239344s last_run=N/A jid=N/A 
status=PENDING retries=0 client_lib=MANCHEGO_GCM-10400000}
04-11 23:50:51.318 2294-4859/? E/ExecutionCriteria: Package unavailable 
for task: com.viber.voip/.schedule.ViberGcmTaskService{u=0 
tag="json_engagement_stickers" 
trigger=window{period=86400s,flex=8640s, 
earliest=-51161584s,latest=-51152944s} requirements=[NET_CONNECTED] 
attributes=[PERSISTED,RECURRING] scheduled=-51239344s last_run=N/A jid=N/A 
status=PENDING retries=0 client_lib=MANCHEGO_GCM-10400000}
04-11 23:50:51.319 2294-4859/? E/ExecutionCriteria: Package unavailable 
for 
task: com.viber.voip/.schedule.ViberGcmTaskService{u=0 
tag="json_say_hi_engagement_config" 
trigger=window{period=86400s,flex=8640s, 
earliest=-51161584s,latest=-51152944s} requirements=[NET_CONNECTED] 
attributes=[PERSISTED,RECURRING] scheduled=-51239344s last_run=N/A jid=N/A 
status=PENDING retries=0 client_lib=MANCHEGO_GCM-10400000}

如果相关,我正在使用NTP服务器和AlarmManager,此错误的原因可能是什么?以及如何解决?

0 个答案:

没有答案