android - sendUserActionEvent() 为空

标签 android android-view logcat samsung-mobile

我在这里有一个真正的笨蛋。当我单击微调器、打开菜单项或长按打开上下文菜单时,我会收到相同的 Logcat 消息:

08-02 21:20:57.264: E/ViewRootImpl(31835): sendUserActionEvent() mView == null

标签是ViewRootImpl,消息是sendUserActionEvent() mView == null。我在网上找不到任何有用的信息。我搜索了 Android 资源并找到了一些对 mView 的引用,但我找不到打印此日志消息的文件。作为引用,我使用的是运行 4.2.2 或 API 17 的三星 Galaxy S4。在运行 Android 4.3 的 Nexus 7 上进行调试时不会出现相同的消息。有任何想法吗?这是三星特有的问题吗?

最佳答案

我在 S4 也遇到了同样的问题。我已经在 Galaxy Grand 、 HTC 、 Sony Experia 中测试过该应用程序,但只在 s4 中获得。您可以忽略它,因为它与您的应用程序无关。

关于android - sendUserActionEvent() 为空,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18028666/

相关文章:

Android Studio 无法识别 Facebook 导入

java - 长时间挂起执行外部方法的初始化线程

android - 使 View 的大小完全适合我在其中绘制的路径

android-layout - ViewBinding - 如何在 ViewBinding 中设置包含布局的可见性?

android - 如何处理 "Logcat: E/TextView initAddtionalStyle default"?

android - 在相机预览上移动叠加图像

android - 按钮单击每颗 dentry ...制作适用于所有屏幕分辨率的布局

android - 创建和使用用户不可见的 fragment View

android - 单击 logcat 时 Eclipse 未打开源代码

android - 如何在特定模块的 logcat 中获取详细日志记录