`

you must restart adb and eclipse的相关解决办法

 
阅读更多
今天一不小心遇到个问题,问题截图如下

首先,我先罗列下我搜到的方法,大家也可以尝试。
1,关闭eclipse并在进程中杀掉adb.exe,然后重启。
2,如有真机连接,拔掉真机,重复1的步骤,
3,关掉eclipse,然后在命令行运行如下命令
   adb kill-server
   adb start-server
   然后重启eclipse

我的问题最根本其实是端口5037被占用,查看指定端口的占用情况
C:\>netstat -aon|findstr "5037"


看到了吗,端口被进程号为5037的进程占用,继续执行下面命令(也可以去任务管理器中查看pid对应的进程)查看PID对应的进程
C:\>tasklist|findstr "2016"


最后在任务管理器中找到“tadb.ext”的进程并将其结束掉,重启eclipse就可以了.

  • 大小: 37.2 KB
  • 大小: 2.9 KB
  • 大小: 2.8 KB
分享到:
评论

相关推荐

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

    如果出现以下问题则有可能是被占用了...You must restart adb and Eclipse. Please ensure that adb is correctly located at 'D:\Program Files\Android\android-sdk\platform-tools\adb.exe' and can be executed.

    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 ...

    Android adb 出错解决方法

    1.遇到问题描述:  ... [2012-07-18 16:18:26 - ] You must restart adb and Eclipse.  [2012-07-18 16:18:26 - ] Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\

    hprof-conv.exe

    [2016-07-10 17:09:11 - QtActivity] You must restart adb and Eclipse. [2016-07-10 17:09:11 - QtActivity] Please ensure that adb is correctly located at 'D:\Android\sdk\platform-tools\adb.exe' and can ...

    ADB server didn't ACK,failed to start daemon的解决方法.docx

    You must restart adb and Eclipse...”。此错误通常伴随着ADB server未接收到ACK(确认信号)以及无法启动daemon服务的现象,表现为“ADB server didn't ACK, failed to start daemon”。这些问题是Android开发...

    The connection to adb is down问题

    [2010-03-11 09:36:56-HelloOPone] You must restart adb and Eclipse. [2010-03-11 09:36:56-HelloOPone] Please ensure that adb is correctly located at 'D:\OPhoneSDK_1.5\platform-tools\adb.exe' and can ...

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

    经常遇到 Please ensure that adb is correctly located at ‘D:\java\sdk\platform-tools\adb.exe’ and can be executed. ... [2012-07-18 16:18:26 – ] You must restart adb and Eclipse. [2012-07

Global site tag (gtag.js) - Google Analytics