本文介绍了安卓:我可以忽略这些错误和QUOT;家长的看法是不是一个TextView"和" sendUserActionEvent()MVIEW == NULL"?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

在我的Andr​​oid应用程序,我经常收到以下两个错误在我的logcat:

In my Android app, I am constantly getting the following two errors in my logcat:

06-02 20:33:16.070: E/MoreInfoHPW_ViewGroup(13983): Parent view is not a TextView
06-02 20:33:12.010: E/ViewRootImpl(13983): sendUserActionEvent() mView == null

我的应用程序运行完全没问题,尽管这两个错误,我发现没有明确的答案,无论他们是否是有害的(甚至是可修复的!)的错误,或者如果可以安全地忽略他们。到目前为止,我一直在做精只是忽略他们,但我想这要问,因为我敢肯定,我不是唯一的一个困惑,什么这两个错误的意思。

My app runs completely fine in spite of these two errors, and I've found no definitive answer as to whether or not they are harmful (or even fixable!) errors or if they can be safely ignored. Thus far I've been doing fine just ignoring them, but I wanted this to be asked since I'm sure I am not the only one confused as to what these two errors mean.

有关的参考,我同时通过亚洲开发银行在三星Galaxy S5运行的应用程序,让这些错误。

For reference, I am getting these errors while running the app via adb on a Samsung Galaxy S5.

编辑:父视图是不是一个TextView的错误发生在很多次,但是值得注意的是它发生时,我preSS在操作栏上的后退按钮,当我开始由pressing一个按钮,一个新的活动。我使用的是支持库,minSdk = 8。

The Parent view is not a TextView error happens at many times, but notably it happens whenever I press the back button on the action bar and when I start a new activity by pressing a button. I'm using the support library, minSdk=8.

推荐答案

是的,你可以忽略,这是一个已知的问题,三星的机型。如果你烦恼,也许你可以取代

Yes you can ignore, it's a known issue with Samsung models. If it bothers you, maybe you can replace

context.startActivity(....);

startActivity(new Intent(....));

,看看它是否为你的作品也一样,在这个答案说明:http://stackoverflow.com/a/24592235/3202370

and see if it works for you too, as indicated in this answer:http://stackoverflow.com/a/24592235/3202370

我希望它能帮助。

这篇关于安卓:我可以忽略这些错误和QUOT;家长的看法是不是一个TextView"和" sendUserActionEvent()MVIEW == NULL"?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-06 19:32