5

So how can I fix this problem. It seems my DDMS is broken down.

Chun
  • 51
  • 1
  • 2

5 Answers5

13

It really helped by plugging in/unplugging the device, followed by the command 'adb logcat -c'

Irfan
  • 1,758
  • 3
  • 24
  • 32
Mike
  • 591
  • 1
  • 4
  • 7
7

In my case the log stopped every time i uploaded a new version of my app to the phone.

issuing the command "adb logcat -c" followed by unplug/plug worked fine.

Thx for the hints.

lalborno
  • 414
  • 3
  • 5
1

Is it a real device, or the emulator?

If you're getting that from a phone, logging might be disabled. try this in adb shell:

echo 1 > /sys/kernel/logger/log_main/enable
echo 2 > /sys/kernel/logger/log_main/priority

But, if you're getting that after a while (some logs get printed, then it stops), try:

adb logcat -c
racetrack
  • 3,766
  • 30
  • 30
1

Should be one kinda bug in android plugins.

Restarted the a. ADB server(adb kill-server, adb start-server) , b. eclipse and c. re-connected the device (real phone) .

This helped me to get DDMS Logcat back to normal.

ReachmeDroid
  • 959
  • 1
  • 14
  • 17
0

I have the same problem,

Now i can fix it.

Go to DDMS, click on the name of device or Emulator (on the left top Window)

and logcat will show :)

LTEHUB
  • 1,638
  • 1
  • 14
  • 17