错误: Conversion to Dalvik format failed: Unable to execute dex

来源:互联网 发布:2017年京东抢购软件 编辑:程序博客网 时间:2024/04/27 11:58
[2014-11-12 11:15:23 - Lvpingguo] Dx warning: Ignoring InnerClasses attribute for an anonymous inner class
(com.baidu.location.g$4) 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-11-12 11:15:24 - Dex Loader] Unable to execute dex: Multiple dex files defineLandroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;
[2014-11-12 11:15:24 - Lvpingguo] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/v4/accessibilityservice/AccessibilityServiceInfoCompat$AccessibilityServiceInfoVersionImpl;

问题解决办法:
1、项目右键 Build Path--Config Build Path--Libraries中的所有从libs中引用的jar包移除,然后使用“Add External jars”按钮从绝对路径
添加刚才移除的jar包。
2、附图
选区_001.png
0 2
原创粉丝点击