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然后杀掉

 

相关文章:

  • 2021-09-29
  • 2021-10-24
  • 2022-12-23
  • 2021-11-17
  • 2022-02-13
  • 2021-11-22
  • 2022-01-09
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-04-10
  • 2022-12-23
  • 2022-02-14
  • 2021-08-29
  • 2021-04-24
  • 2022-12-23
相关资源
相似解决方案