In this tutorial, we will introduce how to list all attached devices using adb, which is very important for beginners.
After you having installed adb, you can use command below to list attached devices.
adb devices
However, you may get an empty list, even if you have connected your mobile phone using usb.
Why?
As to us, we have connected our mobile phone using usb. However, we do not enable USB Debugging mode on our phone.
How to fix it?
Enable USB Debugging mode on your phone.
Then you will find the attached device.