【Mac + Appium】之运行报错:[UiAutomator] UiAutomator exited unexpectedly with code 0, signal null

产生下面的原因是因为:与uiautomator2的weditor冲突,两者不能同事使用。

有事打开appium时会报错:

[UiAutomator] UiAutomator exited unexpectedly with code 0, signal null

经查询有以下两个方案:

①《UiAutomator exited unexpectedly with code 0重启手机

②《adb 打开和关闭应用》,如果重启手机还不行,就关闭所有adb:

adb shell am kill-all

再重新连接就可以了!

猜你喜欢

转载自www.cnblogs.com/Owen-ET/p/9951876.html