I was working on my Android application and using Eclipse to build it and displaying some values in Android Logcat.
Everything was working fine, but suddenly now when I run my application, Logcat does not shows anything. I tried to run my other application, but still it remains blank.
What is reason for this behavior, how can I get it back working again?
Go to the File option > click on “INVALIDATE CACHES/RESTART” then a dialog box will pop up, Select the “INVALIDATE CACHES/RESTART” button. This will automatically restart and build the index of android studio.
No, you don't need root to get logcat information. To do it, you probably want to download the Android SDK and run "adb logcat", using the adb tool that comes with the SDK. Alternatively, you could install the ADT Eclipse plugin and use its handy streaming Logcat viewer. Save this answer.
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.
Sometimes this problem occurs when you run on your PC two instances of Eclipse, for example on different workspaces. So, to avoid repeating problem you should use only one instance of eclipse.
To repair logging you should do following steps:
Sometimes help other method. Go to Eclipse Window > Perspective > DDMS and than from Device sub-window choose Reset adb
It happened to me as well but I think the problem is in the DDMS.
You can try the following:
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