终于解决了 原来在网上找的方法都不好使 都要放弃了 每次出现这样的错误就新建文件 过段时间还是这样 一直没根本解决 今天上网找办法 发现是我在Java Build Path导包的时候冲突了 检查一下是不是有两个相同的包名 有的话 删除一个就OK了
还找到一种方法 可能对其他情况有用
[Android] conversion to dalvik format failed with error 1
if you came across the following error message:
"conversion to dalvik format failed with error 1"
please check your project property:
Java Build Path->Libraries->JARs and class folders on the build path
make sure you didn't manually include the android.jar
就是说你大概不知怎么添加了一个 android.jar ,把它移除就OK了!!