解决adb not responding if youd like to retry...错误

参考:http://stackoverflow.com/questions/15136252/android-adb-didnt-ack-issue-in-eclipse
http://blog.csdn.net/macandroid/article/details/45847413

错误信息:

第一种

adb not responding if youd like to retry

执行解决方法中的3-5步可,可能需要重启Android Studio

第二种:

Unable to create Debug Bridge: Unable to start adb server: ADB server didn’t ACK * failed to start daemon * ‘d:\Android\sdk\platform-tools\adb.exe,start-server’ failed – run manually if necessary

执行解决方法中的1-6步可,可能需要重启Android Studio

解决办法:

1、Go to platform-tools in Android SDK directory.

2、 Type:

adb nodaemon server

Output:

cannot bind 'tcp:5037'

3、Now I know the reason adb not responsive is because it can not bind to port 5037. Use following command to find out the process that occupies the port:

netstat -ano | findstr 5037

Output:

这里写图片描述

4、Note that process with PID 4888 is occupying port 5037.

5、Open Task Manager, click on Details tab, find the process and kill it, tfadb.exe in this case. it may vary for me it is sh.exe and port 4599 and delete all adb.exe

6、Retry adb kill-server and adb start-server, hopefully adb is up running fine.

这里写图片描述

你可能感兴趣的:(解决adb not responding if youd like to retry...错误)