platform-tools\adb.exe,start-server' failed -- run manually if necessary,adb启动失败,端口被占用
来源:互联网 发布:淘宝客服公司图片 编辑:程序博客网 时间:2024/06/06 13:21
转载自:http://blog.sina.com.cn/s/blog_8fd5421d0101dnlg.html
经常遇到 Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be executed.
遇到问题描述:
运行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.
解决问题:
百度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 .
1.关闭豌豆荚进程
2.adb kill-server
3.adb start-server
4.重启Eclipse
OK
如何操作 adb kill-server和adb start-server
cmd窗口
1、打开cmd窗口,进入adb.exe所在的文件夹目录,(adb是android中的一个很有用的工具,用来查看android虚拟机中内容,并进行相应操作),因为我的android-sdk-windows是放在D盘上,所以要先进入D盘,直接输入D:
如图所示就可以直接进入D盘了,再输入cd android-sdk-windows\platform-tools 从而进入了adb.exe所在的目录。
- platform-tools\adb.exe,start-server' failed -- run manually if necessary,adb启动失败,端口被占用
- adb.exe,start-server' failed -- run manually if necessary
- adb.exe,start-server' failed -- run manually if necessary
- adb.exe,start-server' failed -- run manually if necessary
- adb报:adb.exe,-P,8879,start-server' failed -- run manually if necessary 端口占用
- 【ADB server didn't ACK||'adb.exe start-server' failed -- run manually if necessary】问题解决办法
- adb "sdk路径" failed -- run manually if necessary
- 17. error: cannot connect to daemon(adb.exe start-server' failed启动失败,端口占用)
- adbe\.exestart-server failed--run manually if necessary
- adb-server无法启动,5037端口被占用
- android开发中adb server无法启动,端口被占用
- android开发中adb server无法启动,端口被占用
- adb.exe被占用端口怎么解决
- android adb启动失败问题 ADB server didn't ACK * failed to start daemon *
- adb.exe被占用
- ADB SERVER的端口被占用
- adb端口被占用导致无法启动
- 启动adb 报错:端口被占用
- 自定义View实战(一) 汽车速度仪表盘
- Yii创建模板
- (android 调试工具)chrome应用 Vysor 推荐
- 2016广东省赛反省
- HTTP 幂等性
- platform-tools\adb.exe,start-server' failed -- run manually if necessary,adb启动失败,端口被占用
- myeclipse启动tomcat内存溢出java.lang.OutOfMemoryError
- [J2SE]s02e03.两个错误处理的例子(课后练习)
- android面试笔试常见面试题
- mac 包管理器安装mysql
- android 调用系统各种应用
- RC4加密算法及其scala实现
- iOS基础:深入理解Objective-c中@class的含义
- Spring中的ThreadPoolTaskExecutor