0

As the title, how can I look at the logcat of my app on my phone? I think since Android 4.1, root access is required to view logcat. How what can I do to

Jason Ching
  • 1,037
  • 4
  • 19
  • 27
  • enable debug mode, plug it in, see the logcat. no root access required, obviously. – njzk2 Jul 31 '14 at 02:22
  • Hi, I am sorry, but I am really new at this. After I enable the debug mode and plug the phone in, what do I do? Do I run the emulator or app on my phone? – Jason Ching Jul 31 '14 at 15:48
  • Never mind. I think I found what I need here. http://developer.android.com/tools/device.html – Jason Ching Jul 31 '14 at 15:53

1 Answers1

1

if your phone has an adb binary, try this way:

  1. enable ADB over Wi-Fi, check this out.
  2. in your app, execute adb connect 127.0.0.1 then adb logcat, parse the output.

This might work on some phones, not tested. Good luck.

Community
  • 1
  • 1
bladefury
  • 825
  • 6
  • 16