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

一世执手 提交于 2019-12-03 01:16:36

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.

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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!