Android studio logcat 没什么可显示的

问题描述:

我昨天安装了 Android Studio,我尝试使用 LogCat 查看日志.但是在 logcat 中没有显示任何内容.我使用终端运行 ./adb logcat 并且它工作正常.

I installed Android Studio yesterday, and I tried to use the LogCat to see the logs. But there is nothing to show in the logcat. I used the terminal to run ./adb logcat and it works.

有人可以向我解释如何在 Android Studio 中使用 logcat 吗?

Is there someone who can explain to me how to use logcat in Android Studio?

我遇到了同样的问题,但我通过以下步骤解决了,试试这个.

I had the same problem but I solved by the following steps, Try this once.

1) 在安卓工作室.

2) 打开 android Monitor 窗口(android studio 底部)

2) Open android Monitor window(bottom of android studio)

3) 您可以看到右上角的下拉菜单(微调器)

3) You can see the drop down in the right corner(spinner)

4) 选择 -- 仅显示选定的应用程序.