python+appium启动篇(一):Appium appium启动启动会话的时候提示执行adbExec时出错

appium启动启动会话的时候提示错误,求大神指点,刚刚接触appium卡在这一天了
错误
处理命令时发生未知的服务器端错误。原始错误:
An unknown server-side error occurred while processing the command. Original error: Could not find adb.exe in E:\python_appium\sdk\platform-tools\adb.exe,E:\python_appium\sdk\emulator\adb.exe,E:\python_appium\sdk\tools\adb.exe,E:\python_appium\sdk\tools\bin\adb.exe. Do you have the Android SDK installed at 'E:\python_appium\sdk'?

{
  "platformName": "Android",
  "platformVersion": "8.0.0",
  "deviceName": "Honor 9 Lite",
  "automationName": "uiautomator2",
  "newCommandTimeout": "240",
  "udid": "U8ENW18115006649",
  "appPackage": "com.just.trip.client",
  "appActivity": "com.just.trip.client.activity.WelcomeActivity"
}

 

 

解决方式:

手机已锁屏,重新数据线链接手机到电脑,打开开发者模式,usb调试;继续按照appium操作……

猜你喜欢

转载自blog.csdn.net/ak739105231/article/details/89085341