Please ensure that adb is correctly located at……问题解决方案
来源:互联网 发布:windows10怎么下载软件 编辑:程序博客网 时间:2024/06/05 13:19
遇到问题描述:
运行android程序控制台输出
[2013-10-13 16:45:50 - ] The connection to adb is down, and a severe error has occured.
[2013-10-1316:45:50 - ] You must restart adb and Eclipse.
[2013-10-1316:45:50 - ] Please ensure that adb is correctly located at '<--此处显示adb.exe的全路径-->' and can be executed.
问题分析1:
关闭eclipse,打开windows任务管理器,查看进程中是否有adb.exe或adb.exe *32。
解决方案1:
如果有则关闭该进程,重新启动eclipse即可;
问题分析2:
windows任务管理器中就找不到adb.exe或adb.exe *32的进程,可以尝试手动启动adb.exe ;如果手动启动后还找不到adb.exe进程,则 只有一种可能就是adb.exe进程的端口被占用,导致adb.exe未能正常启动所致(adb默认端口为5037)。
解决方案2:
1、查看端口使用情况:
netstat -aon|findstr "5037"
TCP 127.0.0.1:5037 0.0.0.0:0 LISTENING 5004
2、发现5004占用5037端口,查看5004的task:
tasklist|findstr "5004"
wandoujia_daemon.exe 5004 Console 1 4,276 K
打开windows管理器结束wandoujia_daemon.exe该进程,启动eclipse,如果adb.exe未能启动,手动启动即可;
- Please ensure that adb is correctly located at……问题解决方案
- Please ensure that adb is correctly located at……问题解决方案
- Please ensure that adb is correctly located at……问题解决方案
- Please ensure that adb is correctly located at……问题解决方案
- Please ensure that adb is correctly located at……问题解决方案
- Please ensure that adb is correctly located at……问题解决方案
- 安卓开发:Please ensure that adb is correctly located at……问题解决方案
- Please ensure that adb is correctly located at……问题解决方案
- Please ensure that adb is correctly located at……问题解决方案
- Please ensure that adb is correctly located at问题解决
- Android Please ensure that adb is correctly located at问题解决
- Please ensure that adb is correctly located at问题解决
- Please ensure that adb is correctly located at问题解决
- Please ensure that adb is correctly located at问题解决
- Please ensure that adb is correctly located at问题解决
- Android Please ensure that adb is correctly located at问题解决
- Please ensure that adb is correctly located at问题解决
- Android Please ensure that adb is correctly located at问题解决
- HTML DOM 快速导览 – 元素对象 《img》 (HTMLImageElement)
- 【计算机网络】:关于wireshark抓包实验的思考
- struts2的一些配置----转载自微博Messiiiii(感谢该作者)
- '\r' 与 '\n'的区别
- C语言实现链表之双向链表(四)清空链表
- Please ensure that adb is correctly located at……问题解决方案
- JavaScript 数据结构(5):单链表 LinkList
- Race
- Android 输入系统之InputDispatcher2ViewRootImpl篇----终
- 视频马赛克的实时检测
- 多线程问题
- Context Switches上下文切换性能详解
- CUDA 的 Threading:Block 和 Grid 的設定與 Warp
- iOS对文件的操作(沙盒)