解决“adb server version not match this client"错误 [英] Solving "adb server version doesn't match this client" error

查看:35
本文介绍了解决“adb server version not match this client"错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 Python 而不是 py.test 运行我的 Appium 脚本,因为 py.test 不能很好地处理我想从文本文件中获取的变量.当我使用 Python 运行我的脚本时,一切正常,只是我的第一个方法总是有错误.

I'm running my Appium script with Python instead of py.test because py.test does not play nicely with variables I want to get from a text file. When I run my script with Python everything works except that my first method always has an error.

有谁知道如何修复以下错误?

Does anyone know how to fix the following error?

adb server version (31) doesn't match this client (36)
adb server version (32) doesn't match this client (36); killing...

推荐答案

我通过以下操作解决了这个问题:

I fixed this by doing the following:

  1. 进入 GenyMotion 设置 -> ADB 选项卡,
  2. 我没有选择使用 Genymotion Android 工具(默认),而是选择了使用自定义 Android SDK 工具,然后浏览到我安装的 SDK.
  1. going into GenyMotion settings -> ADB tab,
  2. instead of Use Genymotion Android tools (default), I chose Use custom Android SDK Tools and then browsed to my installed SDK.

这篇关于解决“adb server version not match this client"错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆