appium 1.22.3 连接真机测试时遇到报错:
Encountered internal error running command: UnknownError: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: read ECONNRESET
disered_caps={}
disered_caps['platformName']='Android'
disered_caps['platformVersion']='10'
disered_caps['appPackage']='com.sflep.iting'
disered_caps['appActivity']='com.sflep.iting.MainActivity'
disered_caps['deviceName']='CLB7N18403036322'
disered_caps['automationName']='UiAutomator2'
之前上面的这几行可以正常运行,后来下面两行加上运行了一次就开始报错,APP 打开就闪退,重装appium也还是报错
#disered_caps['noReset']='True'
#disered_caps['newCommandTimeout']='30'
帮忙看下怎么解决呢 ,网上找了半天都没找到解决方法
突然就解决了,换了个手机重新测试,结果可以正常运行,换回原来的手机也可以正常运行了,糊里糊涂的,猜测应该是手机连接问题