遇到问题描述:

运行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.报错: 
BUILD FAILED 
D:\workspace\ganji\build.xml:144: The following error occurred while executing this line: 
D:\workspace\ganji\build.xml:271: Unable to delete file D:\workspace\ganji\tmp\proguard\tmp.jar 
解决: 
已经开了一个模拟器了,无法重新编译,必须关闭一个。用于ant

2.报错: 
The connection to adb is down, and a severe error has occured. 
这个问题谁能解决啊 
解决: 
cmd跳到sdk tools文件路径下 
adb kill-server 
然后再adb start-server

3.报错: 
The connection to adb is down, and a severe error has occured. 
[2010-03-11 09:36:56 - HelloOPone] You must restart adb and Eclipse. 
[2010-03-11 09:36:56 - HelloOPone] Please ensure that adb is correctly located at 'D:\OPhoneSDK_1.5 
\platform-tools\adb.exe' and can be executed. 
解决: 
方法1.cmd中adb kill-server,然后adb -startserver 
方法2.方法1不管用,那么在任务管理器中杀死adb.exe,然后重启Eclipse。 
方法3.方法1和2都不管用,那么查看最后一句报错中:platform-tools中是否有adb.exe(我的错误就是在相关路径下面没有platform-tools文件夹 
,所以我选择新建一个文件夹,并且把tools中的文件全部复制到platform-tools中) 
4.前面的方法试了还是不行的话,建议重新装一个系统,最好换个系统。有些大牛也说过:MS存在一些小问题

原文:http://blog.csdn.net/highning0007/article/details/12801057

解决Please ensure that adb is correctly located at 'D:\java\sdk\platform-tools\adb.exe' and can be exe相关推荐

  1. 遇到问题描述:Android Please ensure that adb is correctly located at问题解决

    遇到问题描述: 运行android程序控制台输出 [2013-11-04 16:18:26 - ] The connection to adb is down, and a severe error ...

  2. 最新Android 出现Please ensure that adb is correctly located at

    最近经常遇到下面的问题遇到问题描述:运行android程序控制台输出: [2013-07-23 17:28:06 - ] The connection to adb is down, and a se ...

  3. Please ensure that adb is correctly located at……问题解决方案

    启动android模拟器时.有时会报The connection to adb is down, and a severe error has occured.的错误.在网友说在任务管理器上把所有ad ...

  4. Please ensure that adb is correctly located

    adb的"5037"端口被占其他EXE占了 netstat -aon|findstr "5037"(查询系统是哪个进程使用了端口5037的是) 发现是6492的 ...

  5. 成功解决 raise RuntimeError(“The JPMML-SkLearn conversion application has failed. The Java executable

    成功解决    raise RuntimeError("The JPMML-SkLearn conversion application has failed. The Java execu ...

  6. android 串口调试adb,Android系统 debug 技巧(最全最强adb 串口调试命令)

    串口调试命令 debug adb 命令(去掉adb shell即为串口命令) 发送广播 adb shell am broadcast -a com.android.test 打开activity ad ...

  7. adb push命令传文件到手机_Android调试桥(adb)

    欢迎关注公众号 学习资料不会少 Android 调试桥 Android 调试桥 (adb) 是一个通用命令行工具,其允许您与模拟器实例或连接的 Android 设备进行通信.它可为各种设备操作提供便利 ...

  8. 如何解决 错误code signing is required for product type 'xxxxx' in SDK 'iOS 8.2'

    如何解决 错误code signing is required for product type 'xxxxx' in SDK 'iOS 8.2' 大家在做真机调试的时候,或许会遇到这样的问题,那如何 ...

  9. adb命令 android 串口_android逆向笔记之初学者常用adb命令

    android逆向常用命令笔记 1.如何导出已安装apk? a.列出已经安装的包 adb shell pm list package | grep -i 关键字 b.找出安装路径 adb shell ...

最新文章

  1. 【bzoj1195】[HNOI2006]最短母串 AC自动机+状态压缩+BFS最短路
  2. SAP CRM IBASE read header debug
  3. pygame碰撞检测
  4. Foxmail怎么诊断邮件的状态
  5. 数字化浪潮下 企业如何让问题“尽在掌握”?
  6. 安装vue-cli脚手架
  7. SAP License:SAP顾问是如何炼成的——我所理解的SAP顾问
  8. python能做什么软件-初学python编程,有哪些不错的软件值得一用?
  9. Codeforces Round #347 (Div.2)_A. Complicated GCD
  10. 分享给设计师们9款免费和有用的英文字体
  11. 北京协和医院付海鸿:医学精准要影像先行,影像精准就要技术先行
  12. 【概率论与数理统计】1.1 随机事件及其运算
  13. 图片片转换成位深度为1的单色bmp照片
  14. 大数据第一季--Hadoop(day4)-徐培成-专题视频课程
  15. peta linux对电脑配置要求,使用petalinux遇到的一些问题汇总
  16. 机器阅读理解任务综述
  17. js字符串的拼接,用逗号隔开
  18. abaqus python 读取文件_ABAQUS Command 如何调用或执行 Python 脚本文件
  19. IntelliJ IDEA运行JAVA
  20. 用友通新建账套显示不能登入到服务器,用友通打不开,出现登录失败

热门文章

  1. java 饼图 框架_Java 在 Excel 中创建饼图/环形图
  2. 为什么使用HashMap需要重写hashcode和equals方法_为什么要重写 hashcode 和 equals 方法?...
  3. 安全研究 | Jenkins 任意文件读取漏洞分析
  4. [Codeforces513E2]Subarray Cuts
  5. PHPExcel开发者文档[中文版]
  6. 身份证号码有效性检测算法 ( js版 转 .net版 )
  7. 用命令行非交互改密码
  8. LVS的工作原理和相关算法
  9. SAP BI基本概念
  10. react部署之页面空白