Logcat full of records "Wtf, activity ActivityRecord"

I am getting thousands of the following warning messages in my logcat and it pushes the messages that I am really looking for:

W/ActivityManager﹕ Wtf, activity ActivityRecord{4338cd90 u0 us.bridgeses.Minder.debug/us.bridgeses.Minder.MainListActivity t269 f} in proc activity list not using proc ProcessRecord{4289a348 4821:us.bridgeses.Minder.debug/u0a246}?!?

      

It is possible that my phone now randomly appears in the Pending Debugger dialog even when my phone is disconnected and the application is in the background. It only stops if I delete it and start again the next time I debug. Any ideas?

Edit:

I just commented out my whole class MainListActivity

. My application now literally does nothing but create an empty one Activity

. I am still getting tons of this message and I am still getting this message.

Edit 2:

This is really weird. I uninstalled the debug app, didn't reinstall it, and I still get this message.

+3


source to share


2 answers


I restarted my phone and the error didn't recur for 10 minutes. It's not really an answer, but I guess it's a resolution.



0


source


This message comes from Android OS. This happens when your activity is not destroyed correctly. Therefore the ActivityRecord still exists, but the corresponding proc is not. All entries will be lost on reboot, so you won't see any of these errors.



This usually happens when the active activity / foreground component is disabled. For example, calling a method packageManager.setComponentEnabledSetting()

to disable the currently active component of an activity.

+3


source







All Articles