简体   繁体   English

adb.exe启动服务器安卓android工作室失败

[英]adb.exe start server failed android studio

  1. i type adb nodaemon server error: could not install smartsocket listener: cannot bind to 127.0.0.1:5037: Only one u sage of each socket address (protocol/network address/port) is normally permitted. 我键入adb nodaemon服务器错误:无法安装smartsocket侦听器:无法绑定到127.0.0.1:5037:通常只允许每个套接字地址(协议/网络地址/端口)的一个sage。 (10048) (10048)
  2. netstat -ano | netstat -ano | findstr 5037 TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 5652 TCP 127.0.0.1:5037 127.0.0.1:55726 ESTABLISHED 5652 TCP 127.0.0.1:5037 127.0.0.1:55770 ESTABLISHED 5652 TCP 127.0.0.1:55726 127.0.0.1:5037 ESTABLISHED 1620 TCP 127.0.0.1:55770 127.0.0.1:5037 ESTABLISHED 6488 So i could not find any error .I dont knw wny showing adb.exe start server failed.So what to do please help to resolve findstr 5037 TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 5652 TCP 127.0.0.1:5037 127.0.0.1:55726 ESTABLISHED 5652 TCP 127.0.0.1:5037 127.0.0.1:55770 ESTABLISHED 5652 TCP 127.0.0.1:55726 127.0.0.1 :5037 ESTABLISHED 1620 TCP 127.0.0.1:55770 127.0.0.1:5037 ESTABLISHED 6488所以我找不到任何错误。我不知道显示adb.exe启动服务器失败。所以该怎么办请帮助解决

Are you using Genymotion? 你在使用Genymotion吗? When using Genymotion, try setting the Genymotion config to use the same Android SDK that uses Android Studio. 使用Genymotion时,请尝试将Genymotion配置设置为使用与Android Studio相同的Android SDK。

Anyway, if you aren't using Genymotion, check if you are using two different SDK. 无论如何,如果您不使用Genymotion,请检查您是否使用两个不同的SDK。

Be sure to set anything that uses Android SDK, to the same SDK path. 务必将使用Android SDK的任何内容设置为相同的SDK路径。

Another process is already listening to this port. 另一个进程已经在侦听此端口。

You should close him. 你应该关闭他。

Follow these steps: 跟着这些步骤:

  1. write the following command: 编写以下命令:

    netstat -ano | netstat -ano | findstr 5037 findstr 5037

  2. Then take the PID 然后拿PID

  3. Find it in the taskmgr and close it. 在taskmgr中找到它并关闭它。

  4. Try to install again. 尝试再次安装。

可以更改adb端口并启动。

adb -P 5038 start-server

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM