eclipse 错误:无法执行 dex

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/16111048/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 20:23:43  来源:igfitidea点击:

Error : Unable to execute dex

androideclipse

提问by Laurence Nicolaou

I get this error when I try to launch my AVD, i search the internet and this forum put nothing works. Can anybody help me?

当我尝试启动我的 AVD 时出现此错误,我在互联网上搜索,但此论坛没有任何效果。有谁能够帮助我?

[2013-04-19 19:09:02 - Dex Loader] Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
[2013-04-19 19:09:02 - ScaryFairgroundRideApp] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;

-----Solution to error ----------

-----错误的解决方法----------

I removed the android-support-v4 from my libs folder in my project and everything is working. Solution from @dymmeh

我从项目的 libs 文件夹中删除了 android-support-v4,一切正常。来自@dymmeh 的解决方案

回答by Laurence Nicolaou

I removed the android-support-v4 from my libs folder in my project and everything is working. Solution from @dymmeh

我从项目的 libs 文件夹中删除了 android-support-v4,一切正常。来自@dymmeh 的解决方案

回答by SweetWisher ツ

Removed android-support-v4 from build path worked for almost..

从构建路径中删除了 android-support-v4 几乎可以工作..

回答by Mehdiway

For me, it was the Maven Dependencies, I just removed the dependency tag for Android Support Library from pom.xml

对我来说,它是 Maven 依赖项,我刚刚从 Android 支持库中删除了依赖项标签 pom.xml