使用adb devices命令报:adb server version (39) doesn't match this client (41);killing

在genymotion安卓模拟器上测试程序,想要查找设备虚拟地址,

DOS窗口输入命令:adb devices

1、报错信息

显示adb server version (39) doesn't match this client (41); killing...

 2、问题分析

genymotion中adb.exe版本与SDK中的adb.exe版本不一致

3、解决方法

直接用sdkplatform-toolsadb.exe替换genymotion模拟器的adb.exe

(注:本机genymotion路径:D:Program FilesGenymobileGenymotion ools)

4、验证问题解决

重新启动运行genymotion的虚拟设备,在使用adb devices命令能成功查看设备虚拟地址。

 https://blog.csdn.net/gufenchen/article/details/91383397

原文地址:https://www.cnblogs.com/String-song/p/13111468.html