症状1: 命令行运行 adb 相关命令,提示如下: adb server is out of date. killing...ADB server didn't ACK* failed to start daemon * 症状2: 启动appium服务失败,也报类似上面的错误. 解决办法: 由于adb的服务端口5037被占,导致adb启动失败. 查看是谁占用此端口,执行:netstat -ano | findstr "5037" C:\Users\xxx>netstat -ano
1.查看主机信息 # more /etc/hosts # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 xyn-redhat localhost.localdomain localhost 2.查看进程 # ps -aux|grep java //显示所有进程名中包含java字符串的进