Android studio logcat无法正常工作 [英] Android studio logcat not working

查看:533
本文介绍了Android studio logcat无法正常工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我面临着非常尴尬的事情我在调试应用程序中显示了logcat,但在运行(而不是调试)应用程序时它没有显示logcat。

There is very awkward thing I am facing logcat is shown in debugging application but while running(not debugging) application it is not showing logcat .

我试过重新启动它但没有任何事情发生。

I tried restart it but nothing is happening.

推荐答案

在Android 2.2的情况下,出于某种原因,默认情况下会在上面标记的下拉框中选择Firebase。因此日志没有下降。我只需将其更改为无过滤器。然后它工作。

In my case in Android 2.2, for some reason, Firebase was selected by default in the dropdown box marked above. So logs didn't drop. I just needed to change it to No Filters. Then it worked.

我甚至尝试重新启动logcat,这也没有用。 没有过滤器做了神奇的事。

I even tried restarting the logcat, that didn't work too. No Filters did the magic.

希望这有助于某人。

编辑
您也可以选择仅显示选定的应用程序 for logcat以仅显示当前的调试过程,又名你的应用。

Edit: You can as well select Show only selected application for logcat to show only the current debugging process, aka your app.

这篇关于Android studio logcat无法正常工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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