Please ensure that adb is correctly located at 最新详细方案
2016-04-29 17:32
393 查看
运行Android程序控制台输出
[2016-04-29 17:19:46 - BookExample14_1_2] ------------------------------
[2016-04-29 17:19:46 - BookExample14_1_2] Android Launch!
[2016-04-29 17:19:46 - BookExample14_1_2] The connection to adb is down, and a severe error has occured.
[2016-04-29 17:19:46 - BookExample14_1_2] You must restart adb and Eclipse.
[2016-04-29 17:19:46 - BookExample14_1_2] Please ensure that adb is correctly located at 'F:\AndroidSdks\platform-tools\adb.exe' and can be executed.
解决步骤:
1.打开cmd界面,输入命令 netstat -ano ,获取如下界面
其中
进程id为4136的进程占用了adb的默认端口5037,这时候就发现了问题的所在
2.打开任务管理器,点击查看,进入选择列选项界面,如下
将pid的显示勾上
3.根据对应的pid将占用端口的进程结束,然后重启eclipse
4.应该可以正常使用了!!
[2016-04-29 17:19:46 - BookExample14_1_2] ------------------------------
[2016-04-29 17:19:46 - BookExample14_1_2] Android Launch!
[2016-04-29 17:19:46 - BookExample14_1_2] The connection to adb is down, and a severe error has occured.
[2016-04-29 17:19:46 - BookExample14_1_2] You must restart adb and Eclipse.
[2016-04-29 17:19:46 - BookExample14_1_2] Please ensure that adb is correctly located at 'F:\AndroidSdks\platform-tools\adb.exe' and can be executed.
解决步骤:
1.打开cmd界面,输入命令 netstat -ano ,获取如下界面
其中
进程id为4136的进程占用了adb的默认端口5037,这时候就发现了问题的所在
2.打开任务管理器,点击查看,进入选择列选项界面,如下
将pid的显示勾上
3.根据对应的pid将占用端口的进程结束,然后重启eclipse
4.应该可以正常使用了!!
相关文章推荐
- UCenter 1.6.0 安装过程
- codeforces 361B 思维题
- UCOSIII存储管理(待更)
- 操作系统之实验三 进程调度模拟程序
- linux与windows互传
- UVA 624 CD (记录背包)
- untiy 3d ShaderLab_第4章_基本的光照模型
- UCOSIII同时等待多个内核对象(待更)
- Single Number I+II+III
- 形象一点,view和layer的坐标
- XML中<beans>中属性概述
- log4net 错误日志的使用
- python日志模块----logging
- atoi()函数自实现
- NYOJ 991 Registration system
- UCOSIII消息传递(消息队列)(待更)
- UCOSIII事件标志组(待更)
- 49. Group Anagrams 【M】【47】
- 机器学习常见算法分类汇总
- 给QT不规则窗口添加阴影