Reputation: 1514
I have got a problem in my logcat screen and the problem is that,whenever I get error from my application I get blank screen in logcat and I am unable to look at the errors and fix them.How do I overcome this sort of issue?
here is my logcat screen:
Upvotes: 3
Views: 1865
Reputation: 43
Although this question has been asked long before, I am answering for others who might stumble upon this trouble.
In Mars, eclipse 4.5 and linux using GTK 3, if Android Logcat display is missing, add the following in eclipse.ini before --launcher.appendVmargs
--launcher.GTK_version
2
May also refer these posts.
Logcat show invisible messages in Eclipse Mars
Eclipse GUI broken
Upvotes: 0
Reputation: 1
I ran into this issue in the Android Debug Monitor today. The reason this happened to me was because I had set the "maximum number of logcat messages to buffer" under Preferences/Android/LogCat to some very large amount like 50000000000. If you have played with this setting try setting it lower to like 5000. Once I configured mine back down to 50000 I started seeing messages come through LogCat again. You may have to restart things like the Android Debug Monitor, adb, the computer, the emulator, or the phone. At one point or another I tried all of those. Also you should see an error message when you try to configure this setting back to default. I believe it was a Java Null pointer or something. You can safely ignore the message and just check that the configuration worked when you go back into the Debug monitor. Good luck!
Upvotes: 0
Reputation: 34291
you have 3 things to do..
start emulator...
then see devices select your avd like Windows-show view-other-android-devices...
then start logcat Windows-show view-other-android-logcat..that's it and it will do..
But First you should see the emulator in devices..
If you can't then in devices click down arrow near camera icon and click on reset adb.
Upvotes: 0
Reputation: 4842
I run into that problem sometimes and I suggest:
Upvotes: 0
Reputation: 1359
Update your ADT plugin in Eclipse and right now you are using deprecated Logcat.
Help > Check for Updates
Upvotes: 3
Reputation: 12399
Just Try this command:---
adb shell
echo 1 > /sys/kernel/logger/log_main/enable
Upvotes: 0
Reputation: 67286
Go to DDMS->Devices
and select the device that you are currently working on.
Upvotes: 3