Why Doesn't Logcat Show Anything in My Android

Why is logcat not showing anything?

Try these first

  1. Go to the device tab, click your device. and go back to the logcat
    tab
  2. You might have filter set.
  3. You are probably viewing the wrong package.

Logcat doesn't show anything

Try this:



On Linux or Mac OS X:

./adb kill-server
./adb start-server

On Windows:

adb kill-server
adb start-server

This will restart the adb and everything should work fine.

Why doesn't logcat show anything in my Android?

Maybe you have Mylyn installed?

http://code.google.com/p/android/issues/detail?id=1808

Android Studio Logcat not showing logs

Sample Image

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.

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

Hope this helps someone.

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



Related Topics



Leave a reply



Submit