自己总结的在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. Android(安卓)Http请求方法汇总
  2. android开关飞行模式的方法
  3. Android(安卓)API——自定义组件(Custom Components)
  4. 详解Android获取系统内核版本的方法与实现代码
  5. Android应用程序的调试方法
  6. Android热插拔事件处理流程
  7. 浅谈Java中Collections.sort对List排序的两种方法
  8. mybatisplus的坑 insert标签insert into select无参数问题的解决
  9. Python list sort方法的具体使用

随机推荐

  1. Android 技巧 - listview 里面的图片不能
  2. Android 可响应drawable点击事件的TextVi
  3. Android 2012年9月19日_001
  4. Android 去掉标题栏,状态栏,导航栏
  5. 代码:android崩溃日志收集和处理
  6. 要闻:Google + Motorola
  7. android的singleInstance启动模式及方法
  8. android activity 四大启动模式及使用场
  9. Android之改变控件的背景及形态
  10. 解决Warning:android-apt plugin is inco