Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot compile, Unable to execute dex, cannot merge, non-jumbo instruction

I'm needing some help because I can't get the solution by my own, I had read a lot of post and investigating a lot but without solution.

I've a proyect that have some subprojects ( actionbar,sliding,facebook,etc.. ) and when I try to compile it I receive following error all times.

[2013-07-31 14:44:06 - Dex Loader] Unable to execute dex: Cannot merge new index 67109 into a non-jumbo instruction!
[2013-07-31 14:44:06 - ojiva] Conversion to Dalvik format failed: Unable to execute dex: Cannot merge new index 67109 into a non-jumbo instruction!

I'm using Eclipse with latest ADT and latest tools ( r22 ) with latest SDK ( 18 ). I've set dex.force.jumbo=true on my project.properties and also I've tried with set dex.force.jumbo=true

But without lucky :(, any ideas ?

like image 454
forlayo Avatar asked Jul 31 '13 12:07

forlayo


2 Answers

Try adding dex.force.jumbo=true to your project.properties file

like image 70
Adam Johns Avatar answered Sep 21 '22 18:09

Adam Johns


For intellij or Android studio users: Settings - Android Compiler - DEX, you can check the flag.

However you MUST rebuild your project, otherwise you will still see the same error.

like image 20
simonso Avatar answered Sep 21 '22 18:09

simonso