Search code examples
androidadbandroid-logcatcts

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.


Solution

  • 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