ADB is not starting (no error message)

后端 未结 11 1639
眼角桃花
眼角桃花 2021-01-04 11:32

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 \

11条回答
  •  心在旅途
    2021-01-04 12:03

    To solve problem in windows machine, try the following:

    Problem

    ADB stop connecting attached Android device demon is not running and demon is running on port 5037

    Solution

    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

提交回复
热议问题