如果ARDC提示ADB version mismatch,说明系统当前运行的adb server与client不匹配。此时如果在cmd.exe中运行adb devices命令则会出现类似如下的提示信息:
List of devices attached
adb server version (31) doesn't match this client (39); killing...
error: could not install *smartsocket* listener: cannot bind to 127.0.0.1:5037: 通常每个套接字地址(协议/网络地址/端口)只允许使用一次。
(10048)
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
could not read ok from ADB Server
* failed to start daemon *
error: cannot connect to daemon
出现这种情况,通常是因为形形色色的手机助手正在运行。为了方便调试,在ARDC中增加了自动定位功能,直观提示后台所冲突的进程,方便用户做处理,如下图所示。
可以看到是进程号为15076的360MobileLink.exe引起的mismatch。在任务管理器中无法直接结束该任务,需结束360MobileMgr.exe,而后360MobileLink.exe也会自动结束掉,ARDC就可以正常连接上设备。