Android 中the connection to adb is down 解决方法

自己总结的在android中常会出现的不好解决的问题和方法


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存在一些小问题[size=large][/size]

更多相关文章

  1. 浅谈Java中Collections.sort对List排序的两种方法
  2. mybatisplus的坑 insert标签insert into select无参数问题的解决
  3. Python list sort方法的具体使用
  4. python list.sort()根据多个关键字排序的方法实现
  5. android 获取路径目录方法
  6. Android中创建文件夹和文件的操作
  7. android:屏幕自适应
  8. Android(安卓)app编译依赖android.jar配置方法
  9. Android(安卓)popupWindow响应back按键并关闭

随机推荐

  1. HTML表格案例《商品信息表》
  2. 0629作业
  3. HTML表格实战:制作商品信息表格
  4. 简述事件委托(事件代理)
  5. 请简述 DOM 事件模型或 DOM 事件机制
  6. HTML表格标签及合并行列使用
  7. 注册表单练习
  8. 前端作业-表单
  9. 第二天 HTML标签与属性
  10. 我们常说的算法时间复杂度和空间复杂度到