解决adb的adb server version (32) doesn't match this client (36)或(35)

时间:2022-06-12 03:47:35

最近在android studio中使用genymotion的模拟器和真机调试时,往往找不到模拟器和手机。adb命令的时候发现提示如下:

$ adb devices
adb server version (32) doesn't match this client (36); killing...
error: could not install *smartsocket* listener: Address already in use
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
解决adb的adb server version (32) doesn't match this client (36)或(35)

原来是genymotion中的adb命令被占用冲突了(往往是被360手机助手占用了adb的端口所致),直接打开genymotion的Setting,切换到第四个标签页(ADB),选择Use custom Android Sdk tools,然后选择我们开发使用的Sdk路径即可。

如下:

解决adb的adb server version (32) doesn't match this client (36)或(35)