转载请标明出处:http://blog.csdn.net/xx326664162/article/details/50259623 文章出自:薛瑄的博客
你也可以查看我的其他同类文章,也会让你有一定的收货!
错误信息:
第一种
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
第三种:
C:\Users\he>adb nodaemon server
error: could not install smartsocket listener: cannot bind to 127.0.0.1:5037:
通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 (10048)
执行“解决方法”中的中的3-5步即可
解决办法:
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.
参考:http://stackoverflow.com/questions/15136252/android-adb-didnt-ack-issue-in-eclipse
http://blog.csdn.net/macandroid/article/details/45847413
http://blog.csdn.net/xiang_freedom/article/details/51330598
关注我的公众号,轻松了解和学习更多技术