源码网商城,靠谱的源码在线交易网站 我的订单 购物车 帮助

源码网商城

Android adb 出错解决方法

  • 时间:2022-11-03 23:09 编辑: 来源: 阅读:
  • 扫一扫,手机访问
摘要:Android adb 出错解决方法
[b]1.遇到问题描述: [/b]                   运行android程序控制台输出
  [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 is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be executed.
[b]2.问题解决[/b] 百度google大家多说的是任务管理器 kill掉adb 或者重启adb server,但我任务管理器就没有adb ,猜测是某个程序占用了adb端口。于是按此思路查找。 5037为adb默认端口 查看该端口情况如下:
netstat -aon|findstr "5037"
  TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 6540
发现6540占用了 5037端口,继续查看6540的task,发现是wandoujia .如下所示
tasklist|findstr "6540"
  wandoujia_daemon.exe 6540 Console 1 4,276 K
接下来问题就好解决了,在任务管理器kill掉wandoujia_daemon.exe ,运行android程序,ok .
  • 全部评论(0)
联系客服
客服电话:
400-000-3129
微信版

扫一扫进微信版
返回顶部