玫瑰的含义,白骨精现形记,炮制女朋友粤语
1.遇到问题描述:
运行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.
2.问题解决
百度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 .
如对本文有疑问,请在下面进行留言讨论,广大热心网友会与你互动!! 点击进行留言回复
Android apk 项目一键打包并上传到蒲公英的实现方法
Android 自定义LineLayout实现满屏任意拖动功能的示例代码
android 限制某个操作每天只能操作指定的次数(示例代码详解)
Android 集成 google 登录并获取性别等隐私信息的实现代码
网友评论