Eclipse 下集成出现 ”Conversion to Dalvik format failed with error 1“ 错误

描述: Eclipse 下使用 demo app,编译出现上述错误。

错误:

[2015-11-26 16:29:32 - Eagle] Dx bad class file magic (cafebabe) or version (0033.0000)
...while parsing com/bugtags/library/vender/volley/x.class
...while processing com/bugtags/library/vender/volley/x.class
[2015-11-26 16:29:32 - Eagle] Dx 307 warnings
[2015-11-26 16:29:32 - Eagle] Dx no classfiles specified[2015-11-26 16:29:32 - Eagle] 
Conversion to Dalvik format failed with error 1

解决方案:

更换新版 adt bundle 或者迁移到 Android Studio

adt 下载地址

https://dl.google.com/android/adt/adt-bundle-windows-x86_64-20140702.zip
https://dl.google.com/android/adt/adt-bundle-windows-x86-20140702.zip
https://dl.google.com/android/adt/adt-bundle-mac-x86_64-20140702.zip
https://dl.google.com/android/adt/adt-bundle-linux-x86-20140702.zip
https://dl.google.com/android/adt/adt-bundle-linux-x86_64-20140702.zip

另外:

参考资料中,有多种解决方案,尝试过都无效,但附在这里作为参考:

  1. 设置项目与 eclipse 的 jdk 的版本

    http://www.cnblogs.com/tangnie/p/3343236.html
    
  2. 重新导入外部库

    http://stackoverflow.com/questions/2680827/conversion-to-dalvik-format-failed-with-error-1-on-external-jar