Conversion to Dalvik format failed with error 1

i guess there are a lot of reasons why Conversion to Dalvik format could fail with error 1, and there are alot of solutions offered in SO, but none of them worked for me... after wasting hours i finally managed to solve it... i will post my own solution for this question for later reference and for the community. i hope this will be a time saver!


  • go to Project tab
  • disable Build Automatically
  • remove bin library from your project
  • enable Build Automatically
  • try again!

  • I am convinced that the anwser from Ofek works. Although let me clear it for you.

    Usually dalvik problems happen when you have conflits with libraries in your project maybe because you added a library twice.

    Maybe one in a lib folder and another from the Properties -> Java Build Path -> Libraries

    Only one library should be used.

    链接地址: http://www.djcxy.com/p/74602.html

    上一篇: 由于StAX导致的Dalvik转换错误

    下一篇: 转换为Dalvik格式失败,错误1