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

问题描述:

在Android Studio 2.3.3中,我得到了几十个Logcat消息OFTEN。大概每5运行:使用模拟器时,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,希望它能为你工作。”它没有。

因此在Logcat中是否存在一个bug,如另一个SO评论所示?

有谁知道这个解决方法吗?我应该将这个问题报告为一个错误,因为它肯定是不正确的!

对文件代码注释根据:

出于某种原因,应用程序认为我们没有连接到它。这看起来像一个框架bug ...回落到基态并返回false。 Link to code

你使用什么操作系统?

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

+0

感谢您的建议,但我知道它不会帮助。重新启动,重新格式化,重新安装,重新组合,重复,重新...重要......在所有应有的尊重下,我的经验永远不会可靠地解决问题。我花了一天重新安装一切,最后它不会发生?阅读你写的内容:“看起来像一个BUG。”而“倒退”和平底船只是一个阴谋。其他人一直有这个问题,没有人有解决方案。当有人提出像你这样的建议时,你有没有注意到“它对我不起作用”的所有评论?有人喜欢你的答案。不是我。对不起,我真的很沮丧。 – DSlomer64