Eclipse开发Android时报错Unable to execute dex: Multiple dex files define
来源:互联网 发布:大韩火花机怎么编程 编辑:程序博客网 时间:2024/06/05 04:56
在我开发是导入了两个jar包htmllexer.jar和htmlparser.jar,他们中存在相同的类,导致报错
报错信息:
[2014-10-22 11:42:36 - VoaLearning] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.htmlparser.util.NodeList$1) that doesn't come with anassociated 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.
[2014-10-22 11:42:36 - VoaLearning] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(org.htmlparser.beans.BeanyBaby$1) 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.
[2014-10-22 11:42:39 - Dex Loader] Unable to execute dex: Multiple dex files define Lorg/htmlparser/util/SimpleNodeIterator;
[2014-10-22 11:42:39 - VoaLearning] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Lorg/htmlparser/util/SimpleNodeIterator;
分析:两个包有相同的类htmlparser/util/SimpleNodeIterator
解决方法:删除其中一个包的类;
(zip软件查看jar包,直接把htmlparser下面的util中的SimpleNodeIterator.class文件给删除了,然后再导入到eclipse中。)
0 0
- Eclipse开发Android时报错Unable to execute dex: Multiple dex files define
- Android Eclipse Unable to execute dex: Multiple dex files define
- Android开发 (eclipse)Unable to execute dex: Multiple dex files define Lcom/google/.......
- 【Android开发遇错】Unable to execute dex: Multiple dex files define 解决方法
- Android: Unable to execute dex: Multiple dex files define Lcom
- android Unable to execute dex: Multiple dex files define修复
- android之Unable to execute dex: Multiple dex files define
- android--Unable to execute dex: Multiple dex files define(解决方案)
- android Unable to execute dex: Multiple dex files define 解决方法
- android maven Unable to execute dex: Multiple dex files define
- 报错:Unable to execute dex: Multiple dex files define
- Dex Loader] Unable to execute dex: Multiple dex files define
- Android开发错误Unable to execute dex: Multiple dex files define Lcom/baidu/android/b
- [Android开发常见问题-11] Unable to execute dex: Multiple dex files define 解决方法
- android开发错误之Unable to execute dex: Multiple dex files define
- eclipse报错:Unable to execute dex: Multiple dex files define的解决办法
- eclipse 报错 Unable to execute dex: Multiple dex files define 解决方法
- 关于Android工程的 Unable to execute dex: Multiple dex files define ...... 报错
- 迪杰斯特拉算法
- zoj 1234
- Cocos2d-X 3.0 游戏软件环境搭建与项目创建
- struts set 标签用法
- android客户端多线程下载案例(实现断点续传,包括客户端服务端,还有注释)
- Eclipse开发Android时报错Unable to execute dex: Multiple dex files define
- poj 3636 Dilworth定理(嵌套方形娃娃) Dilworth定理详细讲解
- 使用NDK r10构建Cocosd-x v3.2时编译和链接错误的解决办法
- iOS开发 ---- Swift基础语法。
- 设计模式——模板方法模式(TemplateMethod Pattern)
- IDA调试dex代码初体验
- 设计模式:桥接模式
- 如何再linux下安装uci (unified configguration interface)
- 求矩形的周长和面积【Java】