Some times when I do “adb devices” I found the following result from adb server:
C:\Windows\SysWOW64>adb devices
List of devices attached
- daemon not running. starting it now on port 5037 *
error: could not install smartsocket listener: cannot bind to 127.0.0.1:5037:
Only one usage of each socket address (protocol/network address/port) is normall
y permitted. (10048)
could not read ok from ADB Server - failed to start daemon *
error: cannot connect to daemon
I have a workaround for this which is to kill the adb forcefully from the windows task manager manually but I would like to know what exactly is leading me to this problem.