Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

adb logcat hangs with "waiting for device" message

When I type adb devices command on terminal, it shows device is connected

List of devices attached

0123456789ABCDEF device

But when I type adb logcat command, it hangs with below message

waiting for device

Can anybody tell me what is the problem behind this? I test the device on cts.

like image 881
Android Boy Avatar asked Apr 04 '12 05:04

Android Boy


People also ask

What is adb wait for device?

Device Basics wait-for-device can be specified after adb to ensure that the command will run once the device is connected. -s can be used to send the commands to a specific device when multiple are connected.

How do I authorize a device on adb?

Open a command window and enter "adb devices". Watch the device's screen for any Authorization message and allow the connection.


1 Answers

I am not pretty much sure if this works for you but can you please try the steps below:

# Kill and restart       $ adb kill-server       $ adb start-server       daemon not running. starting it now *        daemon started successfully *           # Device appears, but is listed as offline  $ adb devices       $ adb logcat 
like image 163
Deva Avatar answered Oct 05 '22 02:10

Deva