简体   繁体   English

Android Eclipse多个Dex文件错误

[英]Android Eclipse Multiple Dex Files Error

I have been getting this error when trying to launch my android project, it didn't happen before, and started to happen randomly. 尝试启动我的android项目时,我一直收到此错误,以前从未发生过,而是随机发生。 I didn't even update anything between when it was working and now. 从工作到现在,我什至没有更新任何内容。 The error is: 错误是:

[2013-01-24 18:06:28 - Dex Loader] Unable to execute dex: Multiple dex files define Lorg/opendatakit/sensors/AbstractSensorDriverDiscovery;
[2013-01-24 18:06:28 - opendatakit.sensors] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lorg/opendatakit/sensors/AbstractSensorDriverDiscovery;

I know people have experienced this problem before, but most of the issues I have seen were from over a year ago, typically dealing with ADT r14. 我知道人们以前曾遇到过此问题,但是我看到的大多数问题都是一年多以前的,通常是与ADT r14有关的。 I am using Eclipse 4.3.0 with ADT r17. 我将Eclipse 4.3.0与ADT r17一起使用。 I have not seen anyone dealing with these problems with these versions. 我还没有看到有人用这些版本处理这些问题。 Has this been solved by anyone? 有没有人解决过的?

The other solutions I have seen, in posts like Unable to execute dex: Multiple dex files define Lcom/myapp/R$array; 我在“ 无法执行dex”之类的帖子中看到了其他解决方案:多个dex文件定义了Lcom / myapp / R $ array; , have not been of any use to me. ,对我没有任何用处。

If anyone has any advice on the subject I would greatly appreciate it. 如果有人对这个问题有任何建议,我将不胜感激。

I ended up finding the error to this problem after much heartache. 经过多次心痛,我最终找到了此问题的错误。 For some reason, a global folder had been included in my project and was being built into my project each time. 由于某种原因,全局文件夹已包含在我的项目中,并且每次都被构建到我的项目中。 This folder contained the same jar that I had in my libs folder and that was causing a conflict. 该文件夹包含与我的libs文件夹相同的jar,这引起了冲突。

If anyone else has this problem, ensure you only have one jar file in the project. 如果其他人遇到此问题,请确保项目中只有一个jar文件。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Eclipse / Java / Android无法执行dex:定义了多个dex文件 - Eclipse/Java/Android Unable to execute dex: Multiple dex files define 为什么我们得到多个dex文件在android中定义错误 - Why we get Multiple dex files define error in android 在Android Studio中构建apk时出现多个dex文件错误 - Multiple dex files error while building an apk in Android Studio 将字节码转换为dex时出错:原因:com.android.dex.DexException:多个dex文件定义了Lcom / RNFetchBlob / RNFetchBlobConst; - Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files define Lcom/RNFetchBlob/RNFetchBlobConst; 错误:com.android.dex.DexException:多个dex文件定义了Ledu / umd / cs / findbugs / annotations / NonNull; - Error:com.android.dex.DexException: Multiple dex files define Ledu/umd/cs/findbugs/annotations/NonNull; Android Studio多个Dex错误 - Android Studio Multiple Dex Error java android Eclipse Retrofit 2.0 转换为 Dalvik 格式失败:无法执行 dex:多个 dex 文件定义了 Lretrofit2/Converter - java android Eclipse retrofit 2.0 Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lretrofit2/Converter Android Socialize SDK:无法执行dex:多个dex文件定义 - Android Socialize SDK: Unable to execute dex: Multiple dex files define 错误:将字节码转换为dex时出错:原因:com.android.dex.DexException:多个dex文件定义了Lcom / google / android / gms / common / api / zza; - Error:Error converting bytecode to dex: Cause: com.android.dex.DexException: Multiple dex files define Lcom/google/android/gms/common/api/zza; Android多个dex文件定义问题 - Android Multiple dex files define issue
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM