Skip to content Skip to sidebar Skip to footer

Eclipse Logcat - Not Working

This is the most frustrating thing ever, LogCat keeps deactivating/disconnecting. After running eclipse, LogCat logs for first run and after that, it goes Blank. I have to restart

Solution 1:

If the LogCat is empty, 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).

Same thing with a device. You just have to click on the entry representing that device and the log messages comes.

Solution 2:

I believe this other post with the same problem will answer this:

https://stackoverflow.com/a/11967853/241014

Essentially, set the log's buffer to a higher value by going in Eclipse to Window > Preferences > Android > LogCat. Set the "Maximum number of logcat messages to buffer" to something higher than the default of 5,000.

enter image description here

Solution 3:

Most of the time Rahuls method would work, but sometimes even that doesn't work in that case, Kill the ADB and restart the eclipse.

Solution 4:

For Eclipseonly when LogCat isn't working:

1 - Open Perspective "DDMS". 2 - On the left side, click on the device you want to monitor. 3 - Change Perspective back to "JAVA".

Solution 5:

In case if you are using cynogenmod in your mobile, try this:

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.

Post a Comment for "Eclipse Logcat - Not Working"