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.
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.
Open a command window and enter "adb devices". Watch the device's screen for any Authorization message and allow the connection.
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With