adb服务器版本(40)与该客户端(41)不匹配;杀人 [英] adb server version (40) doesn't match this client (41); killing

查看:147
本文介绍了adb服务器版本(40)与该客户端(41)不匹配;杀人的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法在Android上启动项目:

  adb服务器版本(40)与该客户端(41)不匹配;杀死...无法从ADB服务器读取确定"*无法启动守护程序adb.exe:无法检查服务器版本:无法连接到守护程序 

我已经安装了android平台开发工具,但即使将Genymotion设置更改为使用我的android软件开发工具包而不是其默认android工具,它仍然无法工作

解决方案

对于我来说,该问题是由于两个ADB路径而发生的.实际上,由于系统驱动器空间不足,我实际上将Android SDK从一条路径移动到了另一条路径,并相应地设置了环境变量.启动并杀死服务器并没有帮助,所以我在

然后它开始工作

Couldn't start project on Android:

adb server version (40) doesn't match this client (41); killing...
could not read OK from ADB Server
* failed to start daemon
adb.exe: failed to check server version: cannot connect to daemon

i have installed android platform development tools but it still doesn't work even after changing Genymotion settings to use my android Software development kit instead of its default android tools

解决方案

In my case the problem occurred because of two ADB paths. I actually moved my Android SDK (due to lack of space in system drive) from one path to another and set up the environment variables accordingly. Starting and killing the server didn't help so I followed this thread in GitHub

But unlike that thread, instead of replacing the files in scrcpy folder, I replaced the files in C:\Program Files\Genymobile\Genymotion\tools

And it started working after that

这篇关于adb服务器版本(40)与该客户端(41)不匹配;杀人的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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