[英]What is .dex file in android? I am getting an error Multiple dex files define Lorg/springframework/core/NestedRuntimeException;
I am getting an error message in android while running. 我在运行时在android中收到错误消息。
[2013-01-04 15:34:22 - Dex Loader] Unable to execute dex: Multiple dex files define Lorg/springframework/core/NestedRuntimeException;
[2013-01-04 15:34:22 - ZipGrocery] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lorg/springframework/core/NestedRuntimeException;
.dex
means Dalvik EXecutable. .dex
表示Dalvik可执行文件。 It is the format the DVM
(Dalvik Virtual Machine) needs. 这是
DVM
(Dalvik虚拟机)所需的格式。 The DVM is used by Android as runtime enviroment. DVM被Android用作运行时环境。
Your .apk
-files contain those .dex
ones (rename .apk
to .zip
and see for yourself). 您的
.apk
文件包含那些.dex
(将.apk
重命名为.zip
并亲自查看)。
So your Java-source has to be translated to .dex, that should be done by your Android-SDK when building your .apk. 因此,您的Java源代码必须转换为.dex,在构建.apk时应由Android-SDK完成。 At this step, it seems to me, something goes wrong and therefore you get an error at runtime.
在我看来,这一步出现了问题,因此在运行时出现错误。
Check your code and see if you can do something about: 检查您的代码,看看是否可以做以下事情:
Multiple dex files define Lorg/springframework/core/NestedRuntimeException;
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.