Unable to execute dex: Multiple dex files define Lorg/apache/commons/collections/FastHashMap;
2015-03-29 10:17
555 查看
android在打包的时候出错,昨天晚上还好好的,今天早上起床后打开项目就出错了,网上有很多办法都适合,差距太远
异常代码提示:[2015-03-29 10:08:13 - 农产品推广平台] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.apache.commons.logging.LogFactory$6) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2015-03-29 10:08:15 - Dex Loader] Unable to execute dex: Multiple dex files define Lorg/apache/commons/collections/FastHashMap;
[2015-03-29 10:08:15 - 农产品推广平台] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lorg/apache/commons/collections/FastHashMap;
然后就导致打包的时候老是出错
解决办法,找所引用的jar包中,所包含的包或者类有没有重复的,删除重复的就可以了
更多解决办法请参考其他文章:http://blog.csdn.net/mxlxiao7/article/details/8978930
异常代码提示:[2015-03-29 10:08:13 - 农产品推广平台] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.apache.commons.logging.LogFactory$6) that doesn't come with an
associated EnclosingMethod attribute. This class was probably produced by a
compiler that did not target the modern .class file format. The recommended
solution is to recompile the class from source, using an up-to-date compiler
and without specifying any "-target" type options. The consequence of ignoring
this warning is that reflective operations on this class will incorrectly
indicate that it is *not* an inner class.
[2015-03-29 10:08:15 - Dex Loader] Unable to execute dex: Multiple dex files define Lorg/apache/commons/collections/FastHashMap;
[2015-03-29 10:08:15 - 农产品推广平台] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lorg/apache/commons/collections/FastHashMap;
然后就导致打包的时候老是出错
解决办法,找所引用的jar包中,所包含的包或者类有没有重复的,删除重复的就可以了
更多解决办法请参考其他文章:http://blog.csdn.net/mxlxiao7/article/details/8978930
相关文章推荐
- Andorid Unable to execute dex: Multiple dex files define Lorg/apache/commons/collections/Buffer
- Andorid Unable to execute dex: Multiple dex files define Lorg/apache/commons/collections/Buffer
- Unable to execute dex: Multiple dex files define Lorg/apache/commons/loggings
- Unable to execute dex: Multiple dex files define Lorg/apache/http/ConnectionClosedException;
- 安卓项目中使用JSON引发的一个小错误 Multiple dex files define Lorg/apache/commons/collections/Buffer
- Dex Loader] Unable to execute dex: Multiple dex files define Lcom/mob/commons/MobProduct;
- Unable to execute dex: Multiple dex files define Lorg/cocos2dx/lib/Cocos2dxAccelerometer
- Unable to execute dex: Multiple dex files define Lorg/ap (
- 解决异常: Unable to execute dex: Multiple dex files define
- Unable to execute dex: Multiple dex files define 解决方法
- Unable to execute dex: Multiple dex files define 异常解决(idea,eclipse)
- Unable to execute dex: Multiple dex files define
- Unable to execute dex: Multiple dex files define Lcom/loopj/android/http/AsyncHttpClient$1
- Unable to execute dex: Multiple dex files define Lcom/ckt/vas/miles/R$anim
- 关于启动安卓应用程序时报 Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define 错误
- Android异常:Unable to execute dex: Multiple dex files define Lcom/baidu/android/bbalbs/common/a/a;
- android Unable to execute dex: Multiple dex files define修复
- Unable to execute dex: Multiple dex files define Lcom/kenai/jbosh/AbstractAttr
- Unable to execute dex: Multiple dex files define 解决方法
- Unable to execute dex: Multiple dex files define异常解决方案