使用模拟器时,Android Studio 2.3.3 Logcat报错“无法连接到编辑器...”,怎么办?

4
在Android Studio 2.3.3中,我经常收到大量这种Logcat消息。可能是每五次运行一次:
    com.android.inputmethod.latin E/RichInputConnection: Unable to connect to the editor to retrieve text... will retry later
    com.android.inputmethod.latin E/RichInputConnection: Unable to connect to the editor to retrieve text... will retry later
    com.android.inputmethod.latin E/RichInputConnection: Unable to connect to the editor to retrieve text... will retry later
    com.android.inputmethod.latin E/RichInputConnection: Unable to connect to the editor to retrieve text... will retry later
    com.android.inputmethod.latin E/RichInputConnection: Unable to connect to the editor to retrieve text... will retry later
    com.android.inputmethod.latin E/RichInputConnection: Unable to connect to the editor to retrieve text... will retry later

我从Log语句中没有输出。

这严重影响了调试。

我正在使用模拟器10.1 WXGA Tablet_API_19,Android 4.4.2。但是这也发生在其他模拟器上。似乎(不确定)当我将Android设备连接到USB并编译应用程序时,就不会发生这种情况。

我反复重启Logcat,反复清除它,甚至退出了Studio;同样的信息总是返回。

这不是我在做什么吧?一个关于此问题的SO答案是,“你提到的错误不特定于列表视图。这是logcat错误。重新开始你的Logcat,希望它能为你工作。”它没有。

因此,另一个SO评论是否暗示了Logcat中的错误?

有没有遇到这个问题的人知道解决方法?我应该报告这个问题作为Bug,因为它肯定不对!

1个回答

1

根据文件代码上的评论:

由于某些原因,应用程序认为我们未与其连接。这看起来像是一个框架错误...回退到基本状态并返回false。代码链接

你使用什么操作系统?

可能是由于您系统中的某个进程或错误配置引起的错误。尝试重新下载Android平台工具。


谢谢你的建议,但我知道这不会有帮助。重启、重新格式化、重新安装、重新散列、重复、重新荒唐......恕我直言,我的经验是这些方法从来不能可靠地解决问题。我花了一整天重新安装所有东西,最后还是没用?看看你写的:“看起来像个BUG。”而且“退回”和“放弃”只是逃避责任。其他人也遇到了这个问题,没有人有解决方案。你有没有注意到当有人像你那样提出建议时,有多少人会说“对我没用”?有人喜欢你的答案,但不包括我。抱歉,我真的很沮丧。 - DSlomer64

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接