adb devices错误提示:adb server version (39) doesn‘t match this client (41)

问题:

adb devices错误提示:adb server version (39) doesn‘t match this client (41)
当前client版本41,与server端的版本不匹配,当前版本过高引起的。client就是你电脑已经安装的adb程序的版本,而server,是你的服务端,将要connect的设备,我这里用的是Genymotion虚拟器。

解决方法:

步骤1:Genymotion安装目录下,找到tools文件夹下的abe.exe复制
adb devices错误提示:adb server version (39) doesn‘t match this client (41)
步骤2:找到SDK安装路径的platform-tools文件夹,替换adb.exe
adb devices错误提示:adb server version (39) doesn‘t match this client (41)
步骤3:打开SDK manager.exe。tools------options--------点击clear cache-------关闭SDK manager------再次启动SDK manager
adb devices错误提示:adb server version (39) doesn‘t match this client (41)
最后,再次尝试就可以了
adb devices错误提示:adb server version (39) doesn‘t match this client (41)
注意:adb对应的端口就是5037,如果被占用(比如360手机助手)的话也是可能出现这个问题的,需要通过命令
etstat -ano|findstr “5037”自己检查端口是否被占用。
adb devices错误提示:adb server version (39) doesn‘t match this client (41)
再查找相应的进程对应的进程名称,用 tasklist |findstr “3256”,我这里查到的是adb.exe没有被其他程序占用的,如果被占了就打开进程管理器把对应进程杀掉或者卸载这个程序。
adb devices错误提示:adb server version (39) doesn‘t match this client (41)