ADB server version (36) doesn't match this client (39) _Android_error

时间:2022-02-18 00:35:01

博主遇到了这个问题:

ADB server version (36) doesn't match this client (39) [duplicate]

使用Android 提供的sdk工具时出错了。
上网查了下,这类错误大致是两种情况:一种是版本不对(博主的就是),另一种可能是端口被占用了,后来发现系统path配置的SDK路径是之前安装的一个版本!!

(下面的两张图提供的方式,可以看下自己电脑用的SDK地址)

图1:

ADB server version (36) doesn't match this client (39) _Android_error

ADB server version (36) doesn't match this client (39) _Android_error

图2:

ADB server version (36) doesn't match this client (39) _Android_error

图3:

ADB server version (36) doesn't match this client (39) _Android_error

图4:

ADB server version (36) doesn't match this client (39) _Android_error

上图中在Path里面添加SDK的x:\xxxx\xxxx\AppData\Local\Android\Sdk\platform-tools,(这个地址可以通过图1方法查看,一定要加到platform-tools,因为adb.exe在里面


最后,提供个网址:https://*.com/,大家It的不懂问题都可上去搜搜!真心不错!!