The adb documentation says that when you issue the adb devices
command, you get back the state for each device:
https://developer.android.com/studio/command-line/adb.html#devicestatus
The connection state of the device can be one of the following: offline, device, no device
When I run adb devices
without any device connected to my machine, I get this empty result:
$adb devices
List of devices attached
My question is, under what circumstances can I see the no device
state when issuing the adb devices
command? Since if there are no devices, I simply get an empty output, but no no device
output. The documentation is not clear to me at this part.
Edit:
I am asking this question, because one can also get for example 'unauthorized' state, even though the documentation says nothing about it. So I was curious about this so-called 'no device' state, whether it is a real state, etc.