为什么会出现这种错误DEX [Android应用程序] [英] Why am I getting this dex error [Android Application]?

查看:133
本文介绍了为什么会出现这种错误DEX [Android应用程序]的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我的项目在eclipse没有错误(X的),但当我尝试运行项目中,我在控制台收到此错误:

I have no errors (x's) in my project in eclipse yet when I try to run my project I get this error in the console:

[2013年12月29日19时24分30秒 - 地塞米松装载机]无法执行DEX:多DEX文件定义LCOM /谷歌/广告/广告;
[2013年12月29日19时24分三十秒 - AlertCall]转换为Dalvik的格式失败:无法执行DEX:多DEX文件定义LCOM /谷歌/广告/广告;

[2013-12-29 19:24:30 - Dex Loader] Unable to execute dex: Multiple dex files define Lcom/google/ads/Ad; [2013-12-29 19:24:30 - AlertCall] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lcom/google/ads/Ad;

有谁知道什么是错的?

编辑:我定做这个问题:取消选中了AdMob的jar文件中的配置构建路径的订单和出口的一部分

I fixed the problem by doing this: Untick the admob jar file in the "order and export" part of the "configure build path".

推荐答案

无论你在你的项目的不同版本相同的* .jar文件,或者在你的参考图书馆和放大器不同版本的jar文件;目前的项目。

Either you have different versions of same *.jar file in your project or different versions of jar file in your reference library & current project.

替换这两种参比,同样的jar文件;当前的项目。有* .jar文件的只有一个版本。

Replace same jarfile in both reference & current project. Have only one version of *.jar file

这篇关于为什么会出现这种错误DEX [Android应用程序]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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