Logcat not displaying my log calls

前端 未结 30 1711
悲&欢浪女
悲&欢浪女 2020-11-28 22:45

I\'m a total noob at Android programming, and wanted to learn how to debug my apps. I can\'t seem to have my Log.i|d|v calls displayed in the LogCat.

Here\'s the

相关标签:
30条回答
  • 2020-11-28 23:34

    On Android Studio: Click on the green arrow pointing to the right to restart the logging; if it is not visible, click on the >> icons to locate it.

    0 讨论(0)
  • 2020-11-28 23:34

    QUICK FIX.

    Just restart the eclipse

    Works Perfect.

    0 讨论(0)
  • 2020-11-28 23:34

    some times the problem is not from pc on the other hand IDE,ADB etc, but it arises from your device that doesn't send logs to ADB so if you tried all the ways mentioned before and still your logcat is empty try to restart your device and try again.I tried all the ways mentioned above and neither of them worked but after a restart on my phone logcat worked like magic

    0 讨论(0)
  • 2020-11-28 23:37

    I've noticed that Eclipse will sometimes throw an exception upon starting an Android app, then LogCat stops updating. I've corrected that by simply restarting Eclipse. I'm not sure if you've tried that and I know it's far from an optimal solution, but I suspect that the Eclipse plugin still has a few bugs to iron out.

    0 讨论(0)
  • 2020-11-28 23:37

    I had a problem seeing simple log output in logcat as well. My problem was solved when I installed the latest JDK. I just setup a new development machine and only had the JRE installed and instaling the JDK worked for me.

    0 讨论(0)
  • 2020-11-28 23:39

    I had been experiencing this problem and nothing seemed to work until I moved the log call into a handler. Now it works every time, no matter where you are at.

    0 讨论(0)
提交回复
热议问题