Friday 1 November 2013

Conversion to Dalvik format failed with error 1

Conversion to Dalvik format failed with error 1

This is the major error which is caused while adding libraries in android.


The cause of the error is having two same jar files in <my-project>/lib folder.

The Jar file may be having different names but same functionality.
I suggest you to delete all the jar files from the my-project/lib folder and then

  1. Right click on the project and click the fix project properties in Android tools.
  2. Add the required jar files.
  3. Remove the Build Automatically option from project menu.
  4. Clean the project from the project menu.
  5. Rebuild the project now.

SO check that

To overcome this just delete one of the jar file in lib folder that's it.



No comments:

Post a Comment