0

killed 3 hours for this error. Search the forums did not give (anything you want) compiles on the emulator well. but for export if the problem

com.android.ide.eclipse.adt.internal.build.DexException: Conversion to Dalvik format failed with error 1
    at com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(BuildHelper.java:663)
    at com.android.ide.eclipse.adt.internal.project.ExportHelper.exportReleaseApk(ExportHelper.java:204)
    at com.android.ide.eclipse.adt.internal.project.ExportHelper$2.run(ExportHelper.java:301)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

help those who faced

Felix
  • 88,392
  • 43
  • 149
  • 167
alezhka
  • 738
  • 2
  • 12
  • 29

4 Answers4

4

It happened to me once while using proguard and I was able to solve using -forceprocessing in proguard.cfg

lujop
  • 13,504
  • 9
  • 62
  • 95
0

This answer is pretty much everywhere: If you're on Eclipse go to Project >> Clean... >> Check your project, OK.

MeLight
  • 5,454
  • 4
  • 43
  • 67
0

It seems to be an error in eclipse have you tried to do Project -> clean? Perhaps restart Eclipse, adb and then try it again.

Mark
  • 7,507
  • 12
  • 52
  • 88
0

I needed to update proguard, and the issue is resolved

Nightfirecat
  • 11,432
  • 6
  • 35
  • 51
alezhka
  • 738
  • 2
  • 12
  • 29