Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android: Can I ignore the errors " Parent view is not a TextView " and " sendUserActionEvent() mView == null "?

Tags:

android

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.

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

EDIT: 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.

like image 223
Ingulit Avatar asked Jun 03 '14 01:06

Ingulit


1 Answers

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

context.startActivity(....);  

with:

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

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

I hope it helps.

like image 187
gezgingun Avatar answered Sep 27 '22 18:09

gezgingun