Android的错误在Eclipse:"无法执行DEX:不能合并新的索引65799到非巨型指令"! [英] Android Error in Eclipse: "Unable to execute dex: Cannot merge new index 65799 into a non-jumbo instruction!"
问题描述
我想用OpenSAML使用Eclipse的Android项目。我已经在构建路径中添加了所有必需的JAR文件。现在,当我运行程序为Android应用程序下面的错误显示出来:
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!
我GOOGLE了一下,但没有结果出来了。还有什么比这个错误是什么意思?
I googled a bit, but nothing came up. What could this error mean?
推荐答案
这是得到它的工作对我来说是添加一个解决方案,我发现 dex.force.jumbo = TRUE
我的 project.properties
。
One solution that I found that got it working for me was to add dex.force.jumbo=true
to my project.properties
.
这是指出了:<一href="https://groups.google.com/forum/?fromgroups=#!topic/adt-dev/tuLXN9GkVas">https://groups.google.com/forum/?fromgroups=#!topic/adt-dev/tuLXN9GkVas
这是假设你正在运行ADT 21这个功能是不是在previous版本。
This is assuming you are running ADT 21 as this feature wasn't available in previous versions.
这篇关于Android的错误在Eclipse:&QUOT;无法执行DEX:不能合并新的索引65799到非巨型指令&QUOT;!的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!