无法在 ubuntu 中运行 adb 命令 adb 服务器已过时

2024-04-10

当我跑步时adb devices

    adb server is out of date.  killing...
    cannot bind 'tcp:5037'
    ADB server didn't ACK
    * failed to start daemon *
    error: 

与此错误相同here https://stackoverflow.com/questions/30757191/adb-and-genymotion-error-adb-server-is-out-of-date-killing-cannot-bind-tc。一些评论说尝试adb kill-server然后再次启动 adb 但它在我的中不起作用ubuntu机器。

I have also tried killall -9 adb which is the correct answer of this question https://stackoverflow.com/questions/26431972/android-studio-lollipop-adb-genymotion-issues-devices-wont-show-up-adb. It is also stated in the correct answer is the best solution is to change genymotion settings and point to sdk but in my case i already did it.enter image description here

有人可以帮我摆脱这个错误吗?


无论如何,如果有人看到这篇文章,我想指出通过关闭所有 genymotion 设备然后运行命令来解决这个问题是多么简单

killall adb.

通过杀死所有 adb 确实杀死了所有然后我就做到了

start-server也许我之前运行过另一个 adb,但我忘记了它。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

无法在 ubuntu 中运行 adb 命令 adb 服务器已过时 的相关文章

随机推荐