Conversion to Dalvik format failed with error 2 adt 16.0.1

后端 未结 3 1192
独厮守ぢ
独厮守ぢ 2021-01-14 16:05

Recently we updated eclipse adt plugin to 16 version, and now can\'t run our application, it compiles normally, but when we run, it throws following error :

相关标签:
3条回答
  • 2021-01-14 16:50

    Actually it's becouse my lib projects pacage name is not the same as in my main project.

    0 讨论(0)
  • 2021-01-14 16:58

    Just in case somebody comes here from a Google search for "Conversion to Dalvik format failed with error 2". I had the same issue and it seemed to be related to the JVM or the Eclipse startup options.

    Updating to Java 7 resolved this.

    0 讨论(0)
  • 2021-01-14 17:09

    I see that's an old problem, but I found an another solution:

    Remove -XX:+AggresiveOpts from eclipse.ini.

    0 讨论(0)
提交回复
热议问题