我想用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
.
这是指出了: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.