为什么我收到错误“渠道是无法恢复的破坏,将被全部销毁!” [英] Why I am Getting Error 'Channel is unrecoverably broken and will be disposed!'

查看:211
本文介绍了为什么我收到错误“渠道是无法恢复的破坏,将被全部销毁!”的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试启动我的 AndEngine活动,我得到这个错误:

When I try to launch my AndEngine Activity, I get this error:

ERROR/InputDispatcher(21374): channel '4122e148 my.package.AcGame (server)' ~ Channel is unrecoverably broken and will be disposed!

该应用程序不会崩溃,但有一个黑色的屏幕和设备没有反应,pressing的返回或家的按钮。

The app doesn't crash, but there's a black screen and the device doesn't react to pressing the 'back' or 'home' buttons.

有谁知道问题是什么?

推荐答案

一个我看到的时候我试图展示一个活动,是不是在前台警告对话框或进度对话框,该错误是最常见的原因。当显示一个对话框后台线程处于暂停活动运行等。

One of the most common reasons I see that error is when I am trying to display an alert dialog or progress dialog in an activity that is not in the foreground. Like when a background thread that displays a dialog box is running in a paused activity.

这篇关于为什么我收到错误“渠道是无法恢复的破坏,将被全部销毁!”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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