35

I have an android application that I exported a signed version perfectly on March 17, 2013. Then on March 19, 2013 I updated the Facebook SDK and Android SDK Manager, then tried to export my a signed version of my app again. First mistake.

Now I've been experiencing one of the two issues ever since and I can't export a new signed version of my app to re-upload the Google Play store.

  1. Conversion to Dalvik format failed with error 1
  2. or my Android Application Crashes when I'm exporting it.

I've tried numerous solutions I've found on the web and still am experiencing no luck. I even removed and re-installed Eclipse, the ADT, and Facebook SDK. Still, I'm having issues.

Eclipse actually crashes which is really odd. Any ideas?

Update: So, I am no longer getting the "Conversion to Dalvik format failed with error 1" any more on export of signed app. Eclipse just crashes on export of signed app. Any ideas? I have all the latest software: eclipse, facebook sdk, android sdk, etc. I'm running the latest version of Mac OS X.

icedwater
  • 4,701
  • 3
  • 35
  • 50
LJWilliamsIV
  • 1,164
  • 9
  • 13

6 Answers6

76

So here's how I fixed the issue, I'm sure someone will have this issue again. what worked for me was turning off automatic build. Something so small. Thanks for the help!

*Also, the answers above worked for others.

LJWilliamsIV
  • 1,164
  • 9
  • 13
5

I also experienced this one. Try doing project->clean to your project and restart your eclipse workspace.

If it doesn't work read this thread it might help you.

"Conversion to Dalvik format failed with error 1" -- on export only

Community
  • 1
  • 1
Ariel Magbanua
  • 3,083
  • 7
  • 37
  • 48
4

Go to Project » Properties » Java Build Path » Libraries and remove all except the "Android X.Y", click OK.

Go to Project » Clean » Clean projects selected below » select your project and click OK.

Gokul Nath KP
  • 15,485
  • 24
  • 88
  • 126
4

Disable project/build Automatically before export an apk. enter image description here

Exporting APK from eclipse (ADT) silently crashes

Community
  • 1
  • 1
Luna Kong
  • 3,065
  • 25
  • 20
0

this might be because there are libraries that have classes that have alike names or different android target version

Dante
  • 711
  • 10
  • 21
0

For me, quitting Dropbox on Mac OS X Yosemite helped (I clicked on "Report" and the stacktrace mentioned a Dropbox thread).

andreimarinescu
  • 3,541
  • 2
  • 25
  • 32