Try this command adb devices If you don't see your device connection in the list, you can kill the processes - killall adb And then reconnect your device. It helped me.
adb devices
killall adb