我收到此日志警告
09-29 17:05:27.539 16093-19955/com.popcornstay.popcornstay W/art: Long
monitor contention with owner Timer-83 (19829) at boolean android.os.MessageQueue.enqueueMessage(android.os.Message, long)(MessageQueue.java:547) waiters=143 in boolean android.os.MessageQueue.enqueueMessage(android.os.Message, long) for 8.702s
09-29 17:05:27.539 16093-16277/com.popcornstay.popcornstay W/art: Long monitor contention with owner Timer-83 (19829) at boolean android.os.MessageQueue.enqueueMessage(android.os.Message, long)(MessageQueue.java:547) waiters=143 in boolean android.os.MessageQueue.enqueueMessage(android.os.Message, long) for 8.702s
09-29 17:05:27.539 16093-19915/com.popcornstay.popcornstay W/art: Long monitor contention with owner Timer-83 (19829) at boolean android.os.MessageQueue.enqueueMessage(android.os.Message, long)(MessageQueue.java:547) waiters=143 in boolean android.os.MessageQueue.enqueueMessage(android.os.Message, long) for 8.668s
09-29 17:05:27.539 16093-16553/com.popcornstay.popcornstay W/art: Long monitor contention with owner Timer-83 (19829) at boolean android.os.MessageQueue.enqueueMessage(android.os.Message, long)(MessageQueue.java:547) waiters=143 in boolean android.os.MessageQueue.enqueueMessage(android.os.Message, long) for 8.700s
09-29 17:05:27.539 16093-16465/com.popcornstay.popcornstay W/art: Long monitor contention with owner Timer-83 (19829) at boolean android.os.MessageQueue.enqueueMessage(android.os.Message, long)(MessageQueue.java:547) waiters=143 in boolean android.os.MessageQueue.enqueueMessage(android.os.Message, long) for 8.703s
09-29 17:05:27.539 16093-20640/com.popcornstay.popcornstay W/art: Long monitor contention with owner Timer-83 (19829) at boolean android.os.MessageQueue.enqueueMessage(android.os.Message, long)(MessageQueue.java:547) waiters=143 in boolean android.os.MessageQueue.enqueueMessage(android.os.Message, long) for 8.668s
09-29 17:05:27.539 16093-22796/com.popcornstay.popcornstay W/art: Long monitor contention with owner Timer-121 (20431) at boolean android.os.MessageQueue.enqueueMessage(android.os.Message, long)(MessageQueue.java:547) waiters=143 in boolean android.os.MessageQueue.enqueueMessage(android.os.Message, long) for 8.600s
09-29 17:05:27.539 16093-19829/com.popcornstay.popcornstay W/art: Long monitor contention with owner main (16093) at android.os.Message android.os.MessageQueue.next()(MessageQueue.java:331) waiters=143 in boolean android.os.MessageQueue.enqueueMessage(android.os.Message, long) for 8.601s
09-29 17:05:27.539 16093-17260/com.popcornstay.popcornstay W/art: Long monitor contention with owner Timer-83 (19829) at boolean android.os.MessageQueue.enqueueMessage(android.os.Message, long)(MessageQueue.java:547) waiters=143 in boolean android.os.MessageQueue.enqueueMessage(android.os.Message, long) for 8.668s
请帮助我。
因为这个原因,我的应用无法正常工作,并且在30秒后挂起。
为此建议任何解决方案。
此后导致挂起和ANR。
答案 0 :(得分:0)
这是因为一个线程没有响应太多时间而阻塞了其他线程。应用程序可能在一个线程中执行过多任务。尝试找到此线程并将其卸载。从此开始。如果没事,请在这里给我写信,我们可以去下午。