appium报错:
[debug] [ADB] Could not find devices, restarting adb server...
[debug] [ADB] Restarting adb
[debug] [ADB] Killing adb server on port 5037
[debug] [ADB] Running '/Users/yxxxxxx/Library/Android/sdk/platform-tools/adb -P 5037 kill-server'
uiautomatorview报错:
03:24:22 E/DeviceMonitor: Connection attempts: 28
03:24:22 E/adb: * daemon not running; starting now at tcp:5037
03:24:22 E/adb: * daemon started successfully
03:24:23 E/DeviceMonitor: Connection attempts: 29
03:24:23 E/adb: * daemon not running; starting now at tcp:5037
03:24:24 E/adb: * daemon started successfully
03:24:25 E/DeviceMonitor: Connection attempts: 30
03:24:25 E/adb: * daemon not running; starting now at tcp:5037
03:24:25 E/adb: * daemon started successfully
解决方案:
1.按照appium给出的提示命令把5037端口的进程杀掉
发现还是不管用
直接在活动监视器那里 找到adb然后杀掉