今天突然打开android studio时就发现了下面这个错误:

error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037

网上找了下,很简单。

1.打开DOS命令窗口

2.在DOS中输入:netstat-ano| findstr"5037"//5037为错误提示被占用的端口

error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037


3.找到占用端口的应用ID“5768”,输入:tasklist | findstr "5768"//可能不只一个

error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037


4.进入进程管理界面:Ctro+Alt+Delete,找到360MobileLink.exe,点击结束按钮杀死该进程


5.重启adb命令,或重启Android Studio也可。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-27
  • 2021-06-18
  • 2021-10-21
  • 2021-08-17
  • 2022-12-23
猜你喜欢
  • 2022-02-04
  • 2021-11-26
  • 2021-07-14
  • 2021-06-28
  • 2021-10-17
  • 2022-01-31
  • 2022-02-11
相关资源
相似解决方案