The connection to adb is down, and a severe error has occured.问题解决

在运行时遇到问题描述:

运行android程序控制台输出

[2020-05-24 19:29:38 - NetMaster] The connection to adb is down, and a severe error has occured.
[2020-05-24 19:29:38 - NetMaster] You must restart adb and Eclipse.
[2020-05-24 19:29:38 - NetMaster] Please ensure that adb is correctly located at 'E:\adt-bundle-windows-x86_64-20140702\sdk\platform-tools\adb.exe' and can be executed.

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

2、查看任务管理器没有adb,猜测应该是某个程序占用了adb端口,接下来我列出详细步骤。

第一步:

打开cmd输入 netstat -aon|findstr “5037” (5037为adb默认端口 )

 TCP    127.0.0.1:5037         0.0.0.0:0              LISTENING       19296

这时候我们发现 19296占用了 5037端口。

第二步:

继续查看19296的task:

输入 tasklist|findstr “19296”

hwtransport.exe              19296 Console                    4      8,776 K

我们发现是hwtransport.exe占用。

第三步:

直接在任务管理器里面kill掉或

taskkill /f /im hwtransport.exe

Tip:

  • tasklist 可以找到任务管理器所有进程

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

  • 重新开启adb (adb kill-server ,adb start-server)

希望对您有帮助!

The connection to adb is down, and a severe error has occured.问题解决相关推荐

  1. The connection to adb is down, and a severe error has occured.问题解决方法小结

    遇到了几次这个问题:The connection to adb is down, and a severe error has occured. You must restart adb and Ec ...

  2. Android开发之 adb 启动问题或是部署应用不成功,出现“The connection to adb is down, and a severe error has occured.”错误...

    首先是今天想测试下应用,没有问题的话就进行下一步的操作来着,结果遇到这个问题, The connection to adb is down, and a severe error has occure ...

  3. eclipse运行android项目出现The connection to adb is down, and a severe error has occured.的问题

    问题描述:在eclipse运行android项目时出现以下信息: [plain] view plaincopy The connection to adb is down, and a severe ...

  4. [Android] The connection to adb is down, and a severe error has occured

    一.ADB server didn't ACK 在配置完Android环境后,运行第一个程序时,遇到了如下错误:         ADB server didn't ACK         * fai ...

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

    今天安装安卓的开发环境,写了一个helloworld,运行时发现出现错误: The connection to adb is down, and a severe error has occured. ...

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

    ADB server didn't ACK * failed to start daemon * 问题描述:在eclipse的Logcat出现错误 [2014-01-08 14:00:07 - adb ...

  7. 转 The connection to adb is down, and a severe error

    相信不少同学和我一样遇到这个问题,有时候搞的还要重启电脑,那究竟是什么原因导致的呢,很明显,你的端口被占用了,那下面给出终极解决方案: 一.首先描述症状,如下图 二.出现问题了,首先确定你的sdk目录 ...

  8. android中The connection to adb is down,问题和解决 AndroidEclipseAntXML

    1.报错: BUILD FAILED D:\workspace\ganji\build.xml:144: The following error occurred while executing th ...

  9. 安卓问题总结一(The connection to adb is down)

    2019独角兽企业重金招聘Python工程师标准>>> 问题描述:The connection to adb is down, and a severe error has occu ...

  10. The connection to adb is down

    The connection to adb is down 有一周时间没有打开ADT了,最近想为我的APP增加下些新的功能,但是在编译的时候出现了一个奇怪问题 [2013-10-18 14:43:50 ...

最新文章

  1. git github 快速入门
  2. SIGPIPE导致cronttab和shell脚本等工作异常
  3. Git使用入门 - 在Git上新建项目
  4. uvalive5983(二分+dp)
  5. 解开拒绝本地登录的“死结”
  6. Dart基础学习02--变量及内置类型
  7. robocopy的退出返回代码
  8. python库skimage 绘制直方图;绘制累计直方图;实现直方图匹配(histogram matching)
  9. 问题六十八:着色模型(shading model)(1)——反射模型(reflection model)(2.2)——高光反射(specular reflection)
  10. 适配器模式之享元模式
  11. CF712E [Memort and Casinos]
  12. 关于Axure原型在Axure share上的尺寸问题。
  13. word选择性粘贴没有HTML选项,Word选择性粘贴如何使用?Word选择性粘贴的快捷键是什么?...
  14. bochs在安卓上模拟kali linux系统
  15. 【转载】深入了解scanf()/getchar()和gets()等函数,C++系列教程,C++实例教程,C++
  16. arbexpress使用教程_信号发生器使用说明
  17. vue input file 上传图片
  18. 分析肖特基二极管的优势与结构应用
  19. idea 安装vue.js插件
  20. 我爱你用计算机怎么表示,特殊密码表示我爱你

热门文章

  1. bios error 装系统acpi_WIN10重装系统提示错误ACPI?处理重装系统bios acpi错误
  2. 上“低代码”半年,30名程序员被裁,CTO离职!
  3. 善用 Google 的 手气不错 I'm feeling lucky 搜索
  4. 自制模仿谷歌搜索UI的网页
  5. centos安装五笔与拼音的办法
  6. python msproject_MS Project(*.mpp文件)到PowerBi
  7. 从端到云——工业物联网项目全栈快速开发实践
  8. angular自定义指令 directive
  9. SumatraPDF添加保存标注到TXT文本的功能
  10. excel表格打印每页都有表头_如何给将要打印的excel表格设置统一的表头