Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Error in Eclipse: "Unable to execute dex: Cannot merge new index 65799 into a non-jumbo instruction!"

I am trying an Android project using OpenSAML using Eclipse. I have added all the required jar files in the build path. Now, when I run the program as an Android Application the following error shows up:

[2012-11-18 11:52:59 - Dex Loader] Unable to execute dex: Cannot merge new index 67075 into a non-jumbo instruction!
[2012-11-18 11:52:59 - MyTestProgram] Conversion to Dalvik format failed: Unable to execute dex: Cannot merge new index 67075 into a non-jumbo instruction!

I googled a bit, but nothing came up. What could this error mean?

like image 976
Ripul Avatar asked Nov 18 '12 11:11

Ripul


2 Answers

One solution that I found that got it working for me was to add dex.force.jumbo=true to my project.properties.

This was pointed out at: https://groups.google.com/forum/?fromgroups=#!topic/adt-dev/tuLXN9GkVas

This is assuming you are running ADT 21 as this feature wasn't available in previous versions.

like image 117
Malachi Avatar answered Oct 11 '22 16:10

Malachi


The same problem...just put

dex.force.jumbo=true

in the first line of project.properties

like image 14
Rino Avatar answered Oct 11 '22 15:10

Rino