Accepted answer


check if the console is telling you something. usually this happens when the project could not be installed in the device, and just shows the previous one.

the most common case i have seen this is when there are different signatures in the project, and is not running at all. please, read all the red letters you see. if the logcat does not show anything, take for sure that the console will do.


i had the same issue. no need to restart eclipse or clean your project. you may follow:

  1. click on logcat icon on bottom right corner of eclipse.
  2. in saved filter pane (left side), double click package of your project (in my case it's com.apps..*).
  3. in logcate message filter settings popup, select desired option of "by log level". you can select verbose, info, error etc.
  4. click ok.
  5. run/debug your project.


what worked for me besides restarting eclipse was:

  • remove custom filters

after removing all filters, logcat was filled with text again


close logcat and then reopen it from windowshow viewothers.


if you're using eclipse v4.5 (mars) (at least, mars.1 or mars.2), try the solution described here: logcat show invisible messages in eclipse mars.

it helped in my case.


this is simple.

just close the logcat from eclipse.

then reopen it by following steps in eclipse.

window - show view - other - android - logcat - ok

hope this solves your problem.


set the same date and time in your android phone and in your laptop.

i had a similar problem of logs not showing, and when i set the correct date in the phone i started seeing the logs (i restarted the phone and the hour was completely wrong!).


many times when i switched to a new android device, i do see no more logcat messages. unfortunately, none of the above suggestions worked for me (eclipse photon 4.8.0).

i am now using this . it seems to work for different devices.


if you tried all of the others, and still got losing on an empty logcat. i got another simple way.

download an old version of adb, and try again. it might be working, at least working for me with android 7.0 phone (vendor stopped updating).

here is the useful link for old versions.


for oneplus devices and ubuntu os:

  • install wine on ubuntu

  • install adb tools on ubuntu

     sudo apt-get install android-tools-adb
  • now, attach your device to pc with usb.

  • open mounted "one plus drivers". a disc like icon

  • right click on oneplus_usb_drivers_setup.exe and run with wine

  • then open the terminal in the present drive where your "oneplus_usb_drivers_setup.exe" and other driver files exists. and run

     ./ or sh
  • close this terminal

  • open a new terminal and run

     adb server-start

your oneplus device should prompt you to recognise your pc as a debugging agent.

now, run on the terminal. it should show your device.

adb devices

reference: [solved] android studio does not recognise my one plus two in linux


if using the ddms to refocus doesn't work, try closing and restarting logcat. that helped me.


i've had this happen occasionally. closing and re-opening eclipse seems to fix it.


it gets interesting when you find out that none of all the answers in for this question were helpful.

and then you find out that in your version of adt 22.6.3.v201404151837-1123206 if you add two filters with the same package name (application name) then the log will not appear.

it was weird, because the log was there two seconds ago, and launching the app in debug mode adds a default filter for the app which collides with the filter i've setup manually, and then adt magically removes all the logs, and none of the filter worked including the all messages (no filters)!

but it was masking another issue...

i'm working with dual screens. the second one is connected via vga/rgb - (not really sure what it's called) and what can i do. i'm a ton more comfortable with the logcat away from my code editors, so i've placed it in another window, and as it turns out that is the main reason for the disappearing logs for me.


in case if you are using cyanogenmod in your mobile, it will disable logging by default. try this method:

in your device, open "/system/etc/init.d/" folder if there are many files, try opening each file and find for this line:

rm /dev/log/main

now, comment this line like this: # rm /dev/log/main

save the file and reboot.


i had faced the same issue but in my case logs are shown when other devices are connected and not shown when my device is connected.

it took me days and finally, the issue resolved when i restarted my phone.


below: really dumb answer, but it happens!

my cat stepped on the space button while i was away and [space]xn was typed in the search bar.

that resulted in an empty log cat. i tried restarting and wasted like 1 hour before i realized i should clear my search bar.

tldr; clear your log cat search bar!

enter image description here


the simplest solution worked for me: shutdown and restart my phone and eclipse alike.


i think you haven't selected the device or emulator, on which running your application.

in eclipse, go to ddms perspective and select the device or emulator on which you are running your application.

(note: no need to restart eclipse)


go to developer settings and check that for debugging\select app for debugging is empty

enter image description here


if you are using a device, the simplest check is to restart eclipse.

you don't have to shutdown eclipse

use menu filerestart

in a quick second or two you should see your logcat return.


ok. this is how i got it to work. i first followed momo's advice, that is...

if the logcat panel is empty in eclipse the emulator doesn't have the focus. go to the ddms perspective and try clicking on the 'emulator' entry in the devices panel (top-left screen).

but to no avail.

i then attempted to reset adb (android debug bridge) as suggested by fyodorananiev. how? menu windowdevices → upside down triangle menu button → reset adb.

it also didn't work, but i did get the following message:

android hierarchyviewer: unable to get the focused window from device

this meant that momo was right in that my android device or emulator didn't have focus. however, the solution i did in my case is different.

what worked for me:

  1. replugged my android device, which was connected to my computer via usb.

  2. restarted eclipse, as mentioned by abu hamzah (although since i didn't know i can do menu filerestart, i manually closed down eclipse, and then restarted the application again.)

i can now see logs in my logcat.


maybe the log is not enabled in your device. try to run the following command.

adb shell
echo 1 > /sys/kernel/logger/log_main/enable


while the answer provided by momo will resolve the problem temporarily it will most likely reoccur the next time you launch eclipse, or launch on a different emulator/device.

instead of always having to select my device in the devices view i've found a better solution is to go into your eclipse preferences and navigate to android -> logcat in the list on the left and then enable "monitor logcat for messages from applications in workspace".

this way no matter what device you are using logcat will automatically start showing output from it as soon as the application launches.

it will also setup a filter that ensures that only output from your application is displayed, which you can reuse / disable as needed.

logcat application output enabling setting


i have the same problem on/off and the way i solved is by menu filerestart (restart eclipse).


if clicking in devices panel doesn't bring the spam, use reset adb in dropout menu from triangle on the right of the snapshot button.




and you will see a hidden menu. go to the project menu > background setting > log setting and define the log availability (log switch) and level (log level setting).

please note this may apply to huawei phones only as is stated for an ideos x3 (here) and is tested at a honor u8860.


i had this same issue but my fix was much more basic:

if the logcat panel is empty in eclipse the emulator doesn't have the focus. go to the ddms perspective and try clicking on the 'emulator' entry in the devices panel (top-left screen).

Related Query

More Query from same tag