Skip to content Skip to sidebar Skip to footer

Unable To Execute Dex: Multiple Dex Files Define Ljavax/ws/rs/core/multivaluedmap Exception

I have searched a lot for this exception, none of the threads helped me. I got this exception: Unable to execute dex: Multiple dex files define Ljavax/ws/rs/core/MultivaluedMap; Co

Solution 1:

One of your other jar files also has MultivaluedMap in it. You are going to have to search through those jars and remove any duplicates.

Looking through findJar.com, it is probably jsr311-api-1.1.1.jar. Open it with WinZip and remove the javax\ws\rs\core\MultiValuedMap.class file, save the jar, and replace the new version in your libs folder.

Solution 2:

The error tells you that somehow you have the same class in different lib files. Are you sure you don't have overlapping jars?

Post a Comment for "Unable To Execute Dex: Multiple Dex Files Define Ljavax/ws/rs/core/multivaluedmap Exception"