`
guozhenqian
  • 浏览: 150828 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

The connection to adb is down, and a severe error has occured(Android模拟器端口被占用)

阅读更多

相信不少同学和我一样遇到这个问题,有时候搞的还要重启电脑,那究竟是什么原因导致的呢,很明显,你的端口被占用了酷,那下面给出终极解决方案

一、首先描述症状,如下图

 

二、出现问题了,首先确定你的sdk目录是不是真的在Console输出的那个位置,如果是的话。接下来现在就要看看到底是谁占用了端口。打开命令编辑器进入你的sdk下的platform-tools文件夹输入adb start-serevr



 恭喜,说明你的端口被占用了

 

三、接下来需要确定被占用的端口号是多少,输入命令adb nodaemon server


 OK,现在确定了,端口5037被占用了,那就要找到究竟是谁敢占用5037端口。不错,你已经想到了,豌豆荚、腾讯电脑管家。。。。。。慢着,咱还是确定一下吧,免得冤枉好人

 

四、在cmd中输入命令netstat -ano |findstr "5037"



 原来是10280这个进程占用了端口,这个鸟进程是谁呢,想必你很想知道

 

五、找到元凶

在cmd中输入命令tasklist /fi "pid eq 10280"



 OK,我们已经找到了,是tadb.exe,我的是腾讯电脑管家在搞怪,你的呢

剩下的不用我说了,打开你的任务管理器,kill这个进程吧
 忘了说一句,kill进程之后记得重启一下eclipse

  • 大小: 20.7 KB
  • 大小: 2.7 KB
  • 大小: 4.1 KB
  • 大小: 2.9 KB
  • 大小: 3 KB
分享到:
评论

相关推荐

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

    hprof-conv.exe The connection to adb is down, and a severe error has occured

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

    NULL 博文链接:https://navylee.iteye.com/blog/2076985

    解决Android模拟器端口被占用问题的办法

     第一次遇到这个问题,上网查了一下原因,原来”The connection to adb is down, and a severe error has occured”指的就是Android模拟器端口被占用了。 二、问题的排查过程  既然是端口被占用了,现在就要看看...

    模拟机The connection to adb is down, and a severe error has occured.错误

    NULL 博文链接:https://1307111376.iteye.com/blog/1985359

    The connection to adb is down问题

    The connection to adb is down, and a severe error has occurred. ``` 3. **提示重启ADB和IDE**:当ADB服务出现异常时,系统可能会建议用户重启ADB服务以及集成开发环境(IDE),如Eclipse。 - 错误日志示例:...

    adb 端口被占用详细解决方法

    The connection to adb is down, and a severe error has occured. You must restart adb and Eclipse. Please ensure that adb is correctly located at 'D:\Program Files\Android\android-sdk\platform-tools\adb...

    Android adb.exe程序启动不起来 具体解决方法

    经常遇到 Please ensure that adb is ... [2012-07-18 16:18:26 – ] The connection to adb is down, and a severe error has occured. [2012-07-18 16:18:26 – ] You must restart adb and Eclipse. [2012-07

    Android端口号被占用解决方案

    端口号被占用的情况时常发生,这可能导致ADB(Android Debug Bridge)无法正常工作,进而影响到应用的调试、安装或数据同步等操作。本文将详细介绍两种解决Android端口号被占用问题的方法,并探讨为什么端口号会变得...

    一键解决adb端口被占用 5037端口错误

    一键解决adb端口被占用 一键解决"* daemon not running. starting it now on port 5037 * * daemon started successfully * ** daemon still not running error: cannot connect to daemon"问题 一键解决adb devices...

    深入android中The connection to adb is down的问题以及解决方法

    自己总结的在android中常会出现的不好解决的问题和方法1.报错:BUILD FAILEDD:\workspace\ganji\build.xml:144: The following error occurred while executing this line:D:...报错:The connection to adb is down, a

    Android编程中出现The connection to adb is down问题的解决方法

    本文分析了Android编程中出现The connection to adb is down问题的解决方法。分享给大家供大家参考,具体如下: 1.报错: BUILD FAILED D:\workspace\ganji\build.xml:144: The following error occurred while ...

    Android adb 出错解决方法

    [2012-07-18 16:18:26 - ] The connection to adb is down, and a severe error has occured.  [2012-07-18 16:18:26 - ] You must restart adb and Eclipse.  [2012-07-18 16:18:26 - ] Please ensure that adb ...

    【JAVA】Please ensure that adb is correctly located at 解决详细方案

    当控制台输出"The connection to adb is down, and a severe error has occured"时,表示ADB与Eclipse(或者现在可能是Android Studio)之间的连接已中断,导致无法进行正常的开发操作。常见的原因可能有以下几点: ...

    hprof-conv.exe

    [2016-07-10 17:09:11 - QtActivity] The connection to adb is down, and a severe error has occured. [2016-07-10 17:09:11 - QtActivity] You must restart adb and Eclipse. [2016-07-10 17:09:11 - ...

    android eclipse 运行项目报错解决

    he connection to adb is down, and a severe error has occured.[2014-01-14 21:42:11 - myBluetooth] You must restart adb and Eclipse.[2014-01-14 21:42:11 - myBluetooth] Please ensure that adb is ...

    安装APK文件到Android模拟器

    然后,将 android123.apk 文件复制到 Android SDK 的 Tools 目录中(点击下载 Android123.apk 文件),使用 cmd 的 cd 命令定位到 Android 模拟器目录 Tools 中,执行 adb install android123.apk 命令,这时模拟器...

    Android模拟器Ip设置详细操作

    在Android开发过程中,Android模拟器扮演着至关重要的角色,它为开发者提供了一个可以在桌面系统上运行和测试Android应用的环境。然而,由于模拟器的网络配置与开发者的主机系统不一致,这可能导致通信问题,例如...

Global site tag (gtag.js) - Google Analytics