无法执行DEX:多个DEX文件定义Landroid [英] unable to execute dex : multiple dex files define Landroid

查看:220
本文介绍了无法执行DEX:多个DEX文件定义Landroid的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这些问题,当我试图运行我的应用程序,而且不知道如何解决它...

请人帮我了

这是错误的:

  [2014年4月18日18:47:35  - 地塞米松装载机]无法执行DEX:多DEX文件定义Landroid /支持/ V7 /应用/动作条$回调;
[2014年4月18日18:47:35 - CQUdiary]转换为Dalvik的格式失败:无法执行DEX:多DEX文件定义Landroid /支持/ V7 /应用/动作条$回调;


解决方案

如果您添加V7应用程序兼容性支持库外,请未选中你的Andr​​oid依赖从订单和出口部分,从图书馆节中删除的Andr​​oid的依赖。
这是我固定它:
右击项目 - >选择Java Build path->去订货和出口部分 - >选中Android的依赖关系,并移除库一款Android的依赖关系 - >
清洁 - >重建

i had these issues when i tried to running my apps and have no idea how to fix it ...

anyone please help me out

this is the errors :

[2014-04-18 18:47:35 - Dex Loader] Unable to execute dex: Multiple dex files define Landroid/support/v7/app/ActionBar$Callback;
[2014-04-18 18:47:35 - CQUdiary] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/v7/app/ActionBar$Callback;

解决方案

If you add v7 appcompat support library externally,please unchecked your android dependencies from order and export section and remove android dependencies from libraries section. this is how I fixed it: right click on the project->select java build path->go to order and export section -> unchecked android dependencies and remove android dependencies from Libraries section -> clean -> rebuild

这篇关于无法执行DEX:多个DEX文件定义Landroid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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