亚行不能绑定'tcp:5037' [英] adb cannot bind 'tcp:5037'
本文介绍了亚行不能绑定'tcp:5037'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
它曾经可以正常工作,但是今天,当我将Android手机连接到机器并运行 adb设备
时,出现了以下错误:
It used to work fine, but today after I connected my Android phone to my machine, and run adb devices
, I got the following error:
* daemon not running. starting it now on port 5037 *
cannot bind 'tcp:5037': Address already in use
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon: Operation timed out
如何解决此问题? (我使用的是MacBook)
How to solve this problem? (I am using a MacBook)
推荐答案
尝试使用以下命令
通过列出打开的文件
lsof 命令查找端口详细信息。
Find port details by List Open Files
lsof command.
sudo lsof -i:5037
并找到 PID 并杀死它。
kill -9< pid here>
例如: kill -9 4363
然后启动adb服务器。 adb设备
命令。
Then start adb server. adb devices
command.
这篇关于亚行不能绑定'tcp:5037'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文