Android studio logcat 没什么可显示的 [英] Android studio logcat nothing to show

查看:54
本文介绍了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) 选择 -- 仅显示选定的应用程序.

这篇关于Android studio logcat 没什么可显示的的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆