I am trying to run adb. When I run : \"adb start-server\" it hangs during a while, and then no message.
After that the command \"adb get-state\" receive the answer \
To solve problem in windows machine, try the following:
ADB stop connecting attached Android device
demon is not running and demon is running on port 5037
first list all processes which are running on port 5037
command: netstat -ano | find "5037"
Output for above command:
TCP 127.0.0.1:52935 127.0.0.1:5037 SYN_SENT 31016
TCP 127.0.0.1:52936 127.0.0.1:5037 SYN_SENT 31016
Kill processes which are running on port 5037 using the following command: taskkill /F /PID 31016
Then, restart the adb server adb kill-server adb start-server
Expected output:
* daemon not running. starting it now at tcp:5037 *
* daemon started successfully *
Typing adb devices will give you list of devices connected to the adb server