When an error such as "Unable to establish connection to ADB", "adb server didn ' t ACK" occurs when Android uses the ADB emulator, the ADB service is generally not enabled or the ADB bound port is occupied. Common solutions are as follows:
1. In the Command Prompt window, enter "adb kill-server" to end the ADB service, and then enter "ADB start-server" to open the success.
When the "unable to establish connection to ADB" exception appears, general input the above command, you will be prompted to open the success.
2. If it cannot be turned on, you can view the ADB port situation through the "ADB nodaemon Server" command.
3. Look for the "5037" Port process via "Netstat-ano|findstr" 5037 ".
Open Task Manager and view the process that the PID corresponds to "6692" in the process. I installed the Android studio, the PID is the Studio.exe process. If you shut down the process for another process, restart the ADB service.
By default, the Task Manager process bar does not display PID, view, select columns, and then tick the PID check box.
Android's ADB exception