kramer65
kramer65

Reputation: 53873

adb logcat has no output

I've been running logcat every day for the past 4 months with the following command:

adb logcat

which simply gives me all logs of the attached Android device (my phone). Since yesterday afternoon, that command suddenly doesn't give me anything anymore:

$ adb logcat
* daemon not running. starting it now on port 5037 *
* daemon started successfully *

and from there nothing happens. I can start and stop all sorts of apps or run my own app, but where it used to gives a whole lot of output (most of it crap), it now doesn't output anything. I see the ADB icon in my phone:

enter image description here

and I tried:

but nothing works. Yesterday morning it was still working, now it has no output anymore.

I'm on OSX 10.10 and my device is Android 4.4.4

I'm really desperate (I really need to debug an app). What can be wrong here? All tips are welcome!

Upvotes: 0

Views: 3945

Answers (1)

Abbas Elmas
Abbas Elmas

Reputation: 428

Make sure device connection is proper and working, try to copy file with adb.

You can use logcat on your device too. Download terminal emulator and run logcat command there. It may give you more meaningful error.

If logcat works on your device but not getting it with adb, you should read XDA logcat tutorial

Edit: check your printk level

root@:/ # cat /proc/sys/kernel/printk
7       4       1       7
(7=Current level, 4=Default level, 1=Minimum level, 7=Boot up level)

Upvotes: 1

Related Questions