When you start Android studio, if it pops up
ADB not responding. You can wait More,or kill "Adb.exe" process manually and click ' Restart '
Note that the ADB response failed, at this point, click Wait More will continue to pop up this dialog box, click Restart also useless.
Workaround:
1. Open cmd, enter adb kill-server , adb start-server , adb nodaemon server , display
The instructions do adb start-server not start up after execution because the ADB port is occupied.
2. Enter netstat -aon|findstr "5037" , you can see the process number 10624 (the process number varies by machine and time) is occupying 5037 ports (ADB needs to use this port)
3. Open Task Manager, select the "Processes" tab, click on the Options Bar "View-Select Columns ...", tick "PID (process Identifier)", click OK. You will see that each process will show their PID. Find a process with process number 10624 and end the process.
4. In cmd, restart adb start-server , you will see the successful launch.
5. Restart Android Studio and start the normal startup.
My homepage: Pinkings.github.io
Android Studio adb response failure workaround (2cto.com)