码迷,mamicode.com
首页 > 数据库 > 详细

ADB server didn't ACK 解决方法

时间:2015-01-22 23:02:53      阅读:295      评论:0      收藏:0      [点我收藏+]

标签:

在安卓开发的过程中 连接真机的时候 连接不上 提示

 The connection to adb is down, and a severe error has occured.
[2015-01-22 21:38:42 - 品] You must restart adb and Eclipse.
[2015-01-22 21:38:42 - 品] Please ensure that adb is correctly located at ‘G:\Java\adt-bundle-windows-x86-20130917\sdk\platform-tools\adb.exe‘ and can be executed.

 

提示的解决方法就是重启adb和eclipse

但是重启是不能解决问题的  查询了解决方案,是软件可能占用了android手机跟eclipse连接启动adb的端口,比如91手机助手,360手机助手, 豌豆荚等(我的就是360助手占用)

 

解决方法如下

1、

打开 cmd 输入netstat -ano | findstr "5037"  

技术分享

显示几条

找到 5037  (第一行)查看它后面的那串数字  我这里即2500

 

2、 接着输入 tasklist /fi "pid eq 2500"

技术分享

就可以看到占用adb端口的进程了 

3、打开任务管理器 关闭对应的进程即可

技术分享 

ADB server didn't ACK 解决方法

标签:

原文地址:http://www.cnblogs.com/xqxacm/p/4242818.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!