How to easily view and filter Android's logcat in Windows?

后端 未结 2 765
梦如初夏
梦如初夏 2021-02-05 03:19

I\'m \"debugging\" a Xamarin Android application that only has a problem when a debugger is not attached, thus, I\'m having to fall back on logging to figure out what the proble

相关标签:
2条回答
  • 2021-02-05 04:08

    For anyone using Android Studio:

    The top answer is useful, but I found if you run monitor.bat from android-sdk\tools while Android Studio is already running, you will get conflict on the port:

    "Could not open Selected VM debug port (8700). Make sure you do not have another instance of DDMS or of the eclipse plugin running. If it's being used by something else, choose a new port number in the preferences."

    So it was preferable to run it from the Android Studio menu:

    Tools > Android > Android Device Monitor

    0 讨论(0)
  • 2021-02-05 04:14

    If you need a GUI, the Android SDK delivers a filterable logcat display tool in the Device Monitor.

    Execute monitor.bat in the android-sdk\tools folder to bring it up. You can en- or disable scrolling with the Arrow-Down symbol on the right of the filter bar.

    0 讨论(0)
提交回复
热议问题