[英]Conversion to Dalvik format failed eclipse android-suport-v4.jar error
When I run a clean build in eclipse I get this awesome jar issue : 当我在eclipse中运行一个干净的版本时,我得到了一个很棒的jar问题 :
Console Log: 控制台日志:
[2014-07-24 12:54:42 - wallet] Dx trouble writing output: already prepared [2014-07-24 12:54:42-钱包] Dx麻烦写输出:已经准备好
[2014-07-24 12:54:43 - Dex Loader] Unable to execute dex: Multiple dex files define Landroid/support/v4/app/_ActionBarSherlockTrojanHorse$OnCreateOptionsMenuListener; [2014-07-24 12:54:43-Dex Loader]无法执行dex:多个dex文件定义了Landroid / support / v4 / app / _ActionBarSherlockTrojanHorse $ OnCreateOptionsMenuListener;
[2014-07-24 12:54:43 - wallet] Conversion to Dalvik format failed: Unable to execute dex: Multiple dex files define Landroid/support/v4/app/_ActionBarSherlockTrojanHorse$OnCreateOptionsMenuListener; [2014-07-24 12:54:43-钱包]转换为Dalvik格式失败:无法执行dex:多个dex文件定义了Landroid / support / v4 / app / _ActionBarSherlockTrojanHorse $ OnCreateOptionsMenuListener;
I've tried unchecking the .jar library in the java build path of the wallet, and tinkering with my android-suport-v4.jar file. 我尝试取消选中钱包的Java构建路径中的.jar库,并修补我的android-suport-v4.jar文件。 I've tried deleteing my livbs folder in the action sidebar but that didn't work either.
我尝试删除操作侧边栏中的livbs文件夹,但这也不起作用。 Anyone know how to resolve this issue?
有人知道如何解决此问题吗?
Are you trying to deploy using Eclipse ("Run as...")? 您是否要使用Eclipse(“运行方式...”)进行部署? I think that doesn't work, at least I have given up on it a while ago.
我认为这是行不通的,至少在一段时间之前我已经放弃了。 Use Maven for compiling and deploying.
使用Maven进行编译和部署。 Eclipse should be able to tell about errors though.
Eclipse应该能够告知错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.