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

The connection to adb is down, and a severe error has occured

时间:2015-04-08 16:24:27      阅读:132      评论:0      收藏:0      [点我收藏+]

标签:android

遇到问题描述:

运行android程序控制台输出:

[2015-04-08 11:10:32 - MyWellnessTracker] The connection to adb is down, and a severe error has occured.

[2015-04-08  11:10:32 - MyWellnessTracker] You must restart adb and Eclipse.

[2015-04-08  11:10:32 - MyWellnessTracker] Please ensure that adb is correctly located at ‘E:\SDK\platform-tools\adb.exe‘ and can be executed.

有很多种情况,所以也有很多解决方法:

  1、任务管理器 kill掉adb 或者重启adb server

  2、查看任务管理器没有adb,猜测是某个程序占用了adb端口

5037为adb默认端口 查看该端口情况如下:

   查看:cmd —— netstat -aon|findstr "5037"

   技术分享

发现3024占用了 5037端口,继续查看5408的task:

查看: tasklist|findstr "3024"

技术分享

发现是SogouPhoneService.exe占用,直接在任务管理器里面kill掉或

技术分享

Tip:1)、tasklist 可以找到任务管理器所有进程

          2)、taskkilll /f /im 程序名1.exe /f /im 程序名2.exe .... 可以kill掉多个程序

3、重新开启adb

技术分享

The connection to adb is down, and a severe error has occured

标签:android

原文地址:http://blog.csdn.net/tanzuai/article/details/44942249

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