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 Eclipse to get it running again, and then same thing happens again. What is matter with it? It used to work fine. I can't recall changes I've made to undo what I (might) have done.
EDIT - Screen of Eclipse as requested.
EDIT 2 - Screen of currently installed SDK packages
In Eclipse, Goto Window-> Show View -> Other -> Android-> Logcat. Logcat is nothing but a console of your Emulator or Device.
You need to press Alt + 6 twice to restart the Logcat. Restarting logcat often helps when it becomes irresponsive.
To display the log messages for an app: Build and run your app on a device. Click View > Tool Windows > Logcat (or click Logcat in the tool window bar).
Logcat is a command-line tool that dumps a log of system messages, including stack traces when the device throws an error and messages that you have written from your app with the Log class. This page is about the command-line logcat tool, but you can also view log messages from the Logcat window in Android Studio.
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.
For Eclipse
only 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
".
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With