Reputation: 12518
I'm getting this error any time I try to launch my Phonegap application in Eclipse:
Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lcom/phonegap/api/IPlugin;
This started happening immediately after updating to R14 of the Android tools. The problem persists after updating to R15.
A friend of mine is able to successfully build the same code on a machine running an earlier version of the SDK tools.
After searching around and seeing various solutions to similar error messages, I've tried completely removing the Android SDK and Eclipse and reinstalling to no effect.
Short of trying to find an earlier version of the SDK tools somewhere, does anybody have any other suggestions?
Upvotes: 1
Views: 2391
Reputation: 1636
Make sure your libs/
is not a Source folder
but just the plain Folder
.
//I know it's a old topic, but just wanted to help someone Googling for this
Upvotes: 0
Reputation: 23273
Okay, I'm assuming you don't have two versions of the phonegap.jar in your build path so I would suggest:
Hope that helps.
Upvotes: 1