32

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"

Pierre-Luc Pineault
  • 8,993
  • 6
  • 40
  • 55
Sam
  • 6,215
  • 9
  • 71
  • 90

1 Answers1

135

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.

Sachin Thapa
  • 3,559
  • 4
  • 24
  • 42
vggonz
  • 1,986
  • 1
  • 14
  • 14