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

来源:互联网 发布:购买电话销售数据 编辑:程序博客网 时间:2024/05/18 02:31

转载请标明出处: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

1 0
原创粉丝点击