美文网首页
Appium: adb server version (31)

Appium: adb server version (31)

作者: 新来的小白 | 来源:发表于2017-05-05 16:13 被阅读0次

    Appium: adb server version (31) doesn't match this client (36)

    运行Appium脚本时程序报错(adb server version (31) doesn't match this client (36); killing..." shell pm packages ... with code 1{"stdout":"","stderr":"error: device 'adb server version (31) doesn't match this client (36); killing...' not found\n","code":1}),网上找了半天也没有解决,最终通过删掉/Users/my_user_name/Library/Android/中的sdk文件,然后再将自己Android sdk路径中的sdk复制到/Users/my_user_name/Library/Android/中,问题完美解决。

    更新了sdk之后又出现了相同的问题([AndroidDriver] Using device: adb server version (31) doesn't match this client (39); killing...),通过相同的方法,顺利解决。

    相关文章

      网友评论

          本文标题:Appium: adb server version (31)

          本文链接:https://www.haomeiwen.com/subject/anhstxtx.html