Sunday 30 December 2012

Android troubleshooting: "Conversion to Dalvik format failed ..."

I included all my libraries (and android-support-v*.jar) into libs.. Eclipse recognized them as "Android Dependencies". THIS IS WRONG. The error was saying me that I have included multiple times the same files. I think that Eclipse includes in the final apk the contents of libs/*.jar and the "Android Dependencies".

In order to fix the error you have right click the project, go to Java Build Path, Libraries, remove Android Dependences and include your jars with the button "Add JARs..."


No comments:

Post a Comment