简体   繁体   English

什么是android中的.dex文件? 我收到一个错误多个dex文件定义了Lorg / springframework / core / NestedRuntimeException;

[英]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.

相关问题 无法执行dex:多个dex文件定义了Lorg / springframework / http / HttpEntity - Unable to execute dex: Multiple dex files define Lorg/springframework/http/HttpEntity Android测试:多个dex文件定义了Lorg / hamcrest / Description; - Android Testing: Multiple dex files define Lorg/hamcrest/Description; Android Gradle DexException:多个dex文件定义Lorg / hamcrest / Description - Android Gradle DexException: Multiple dex files define Lorg/hamcrest/Description Android-如何修复错误:多个dex文件定义了Lorg / eclipse / paho / android / service / MqttAndroidClient $ MyServiceConnection; - Android - How to fix Error: Multiple dex files define Lorg/eclipse/paho/android/service/MqttAndroidClient$MyServiceConnection; Android:无法合并dex-多个dex文件定义了Lorg / apache / commons / lang3 - Android: Unable to merge dex - Multiple dex files define Lorg/apache/commons/lang3 无法执行dex:多个dex文件定义了Lorg / andengine / AndEngine - Unable to execute dex: Multiple dex files define Lorg/andengine/AndEngine com.android.dex.DexException:多个dex文件定义Lorg / hamcrest / Description; - com.android.dex.DexException: Multiple dex files define Lorg/hamcrest/Description; 多个dex文件在android studio中定义错误 - Multiple dex files define error in android studio 原因:com.android.dex.DexException:多个dex文件在Studio 3.0中定义Lorg / apache / commons / io / IOCase - Cause: com.android.dex.DexException: Multiple dex files define Lorg/apache/commons/io/IOCase in Studio 3.0 Android,多个dex文件定义 - Android, Multiple dex files define
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM