32
votes

When i try to export my android project i'm getting the following eclipse error message "Conversion to Dalvik format failed error1""

i try the following steps but no luck..

  • Project ยป Clean
  • add -Xms128m /-Xmx512m to eclipse.ini
  • Restarting Eclipse with the -clean option

Export Steps:
- Right click on project->export->android under that select the "export android application"

2
Hey naruto fan, you should accept the answer of vggonz. - berserk

2 Answers

135
votes

Disable "Build Automatically" on "Project Menu" and rebuild it manually (Right click on project -> Build project), then try to export the application again.

Eclipse seems to conflict with export and compile simultaneously. So every time you need to export an APK, disable automatic build. It's safe to use it any other time.

0
votes

When I was exporting an unsigned application package, I ran into the same error. It worked for me.