dex加载器无法执行dex:方法ID不在[0,0xffff]中:65536 [英] dex loader unable to execute dex: method ID not in [0, 0xffff]: 65536

查看:264
本文介绍了dex加载器无法执行dex:方法ID不在[0,0xffff]中:65536的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



Dx警告:忽略匿名内部类的内部类属性
(com.amazonaws.javax.xml) stream.xerces.util.SecuritySupport12 $ 4)不附带
关联的EnclosingMethod属性。这个类可能是由一个
编译器生成的,而不是以现代的.class文件格式为目标。推荐的
解决方案是从源重新编译类,使用最新的编译器
,而不指定任何-target类型选项。忽略
这个警告的结果是,这个类的反射操作将不正确地
表示它不是一个内部类。



Dex Loader]无法执行dex:方法ID不在[0,0xffff]中:65536
转换为Dalvik格式失败:无法执行dex:方法ID不在[0,0xffff]中:65536

解决方案

检查构建路径 - > Java Build Path - > Order and Export选项卡 - >取消选中Android私有Librair。

如果仍然无法使用,请添加以下行: dex.force.jumbo = true project.properties 文件。



可能的原因可能是构建路径中的大尺寸jar。



编辑: strong>
由于Eclipse不再支持Google,如果您想摆脱这些令人讨厌的问题,请先使用此功能:使用Android Studio并启用Multidex。


iam building my application i got this error

Dx warning: Ignoring InnerClasses attribute for an anonymous inner class (com.amazonaws.javax.xml.stream.xerces.util.SecuritySupport12$4) that doesn't come with an associated EnclosingMethod attribute. This class was probably produced by a compiler that did not target the modern .class file format. The recommended solution is to recompile the class from source, using an up-to-date compiler and without specifying any "-target" type options. The consequence of ignoring this warning is that reflective operations on this class will incorrectly indicate that it is not an inner class.

Dex Loader] Unable to execute dex: method ID not in [0, 0xffff]: 65536 Conversion to Dalvik format failed: Unable to execute dex: method ID not in [0, 0xffff]: 65536

解决方案

Check the build path -> Java Build Path -> Order and Export tab -> uncheck Android private Librairies.

If it is still not working, add the following line : dex.force.jumbo=true to the project.properties file.

The probable cause is maybe a big sized jar in build path.

Edit : This is deprecated because Eclipse is no longer supported by Google, if you wanna get rid of these annoying problems : use Android Studio and enable Multidex.

这篇关于dex加载器无法执行dex:方法ID不在[0,0xffff]中:65536的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆