adb socket not working and daemon

后端 未结 7 1108
遇见更好的自我
遇见更好的自我 2021-02-04 08:50

I am getting this type of error

error: could not install smartsocket listener: cannot bind to 127.0.0.1:5037: Only one usage of each socket ad

7条回答
  •  面向向阳花
    2021-02-04 09:01

    1. Close Eclipse or Android Studio if either is running (Optional).
    2. Open Command Prompt.
    3. Go to the Android SDK platform-tools directory.
    4. Type adb kill-server.
    5. Type adb start-server.
    6. If no error message is thrown while starting ADB server, then adb is started successfully.

    OR

    1. Go to Task Manager, open the Processes tab, and end the adb.exe process.
    2. Then restart Android Studio.

    This may work if there is any problem with adb.

提交回复
热议问题