alezhka
alezhka

Reputation: 758

error when exporting. apk

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

Upvotes: 0

Views: 1531

Answers (4)

alezhka
alezhka

Reputation: 758

I needed to update proguard, and the issue is resolved

Upvotes: 0

lujop
lujop

Reputation: 13883

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

Upvotes: 4

Mark
Mark

Reputation: 7625

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

Upvotes: 0

MeLight
MeLight

Reputation: 5565

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

Upvotes: 0

Related Questions