Android sdk区分 64位或者32位吗

在64位的git工具中输入$ adb devices
adb server version (32) doesn’t match this client (41); killing…

  • daemon started successfully
    List of devices attached

5037端口被占用了吧,你是不是有安装什么手机助手一类的软件,输入命令netstat -ano|findstr “5037” 看下

Lenovo@LAPTOP-5VRS3QAP MINGW64 ~/Desktop
$ adb devices
List of devices attached

Lenovo@LAPTOP-5VRS3QAP MINGW64 ~/Desktop
$ adb kill-server

Lenovo@LAPTOP-5VRS3QAP MINGW64 ~/Desktop
$ adb devices

  • daemon not running; starting now at tcp:5037
  • daemon started successfully
    List of devices attached

Lenovo@LAPTOP-5VRS3QAP MINGW64 ~/Desktop
$ adb connect 127.0.0.1:7555
cannot connect to 127.0.0.1:7555: 由于目标计算机积极拒绝,无法连接。 (10061)

Lenovo@LAPTOP-5VRS3QAP MINGW64 ~/Desktop
$ netstat -ano | finstr “5037”
bash: finstr: command not found

你用的是cmd吗,截图看看