自己总结的在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存在一些小问题

更多相关文章

  1. Android开发中出现Attempt to invoke virtual method...on a nul
  2. android 四大组件之Service
  3. android读取properties配置文件
  4. android切换到后台图片纹理丢失的解决方案
  5. Android(安卓)修改app图标和名称的方法
  6. cocos2d-x 从C++调Java
  7. 浅谈Java中Collections.sort对List排序的两种方法
  8. mybatisplus的坑 insert标签insert into select无参数问题的解决
  9. Python list sort方法的具体使用

随机推荐

  1. 什么是JAMStack?
  2. Python分析Nginx日志
  3. makefile文件详解
  4. makefile使用.lds链接脚本以及 常用命令
  5. PO BO VO DTO POJO DAO概念及其作用(附转
  6. Go 开源说第八期预告:go chassis——微服
  7. 服务雪崩、降级与熔断
  8. GopherChina 2021 定了,干货满满的来了
  9. 山东潍坊某数据恢复公司客户服务器感染 .
  10. .[pbs@criptext.com].elder后缀的勒索病