Android studio logcat无法正常工作 [英] Android studio logcat not working
问题描述
我面临着非常尴尬的事情我在调试应用程序中显示了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屋!