Multiple adb connections cannot be used at the same time (prompt adb server is out of date)

Phenomenon

Sometimes screen projection software is used during development, so that you don’t need to click on the actual screen (sometimes the screen is too far away), or some only the host has no screen, so you must use screen projection software. But on my computer, if you open another cmd window to perform operations (such as adb install), the window will prompt the following information:

adb server is out of date.  killing...
* daemon started successfully *
error: device not found
- waiting for device -

At this time, other adb will be killed and the screen projection software will exit.

Cause Analysis

The reason for this problem is that the adb version is too old. Just update adb. adb.exe exists under platform-tools in the sdk directory. The replacement process is as follows:

1. Enter the SDK directory

2. Download the latest platforn-tools package, platforn-tools package download address
Insert image description here

3. Extract the downloaded package to the SDK directory and replace the original platform-tools folder.

4. Check the adb version and execute the adb version command. My current version has no problem with multiple adb connections. The version is as shown below:
Insert image description here
Above, the problem is solved.

Guess you like

Origin blog.csdn.net/sinat_34388320/article/details/130361292