我对此错误消息绝对不以为然。每当我出口它时,我似乎对我的项目进行了更改,我得到了这个错误。我做了一些修复,删除项目重新添加。清理项目,删除链接和清理等解决方案,从这个链接:
"Conversion to Dalvik format failed with error 1" on external JAR
现在通常我已经修好了......但是这次我无法使用我尝试的任何修复工具,所以希望有一些帮助。这是错误日志:
org.eclipse.core.runtime.CoreException: Conversion to Dalvik format failed with error 1
at com.android.ide.eclipse.adt.internal.project.ExportHelper.exportReleaseApk(ExportHelper.java:323)
at com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard.doExport(ExportWizard.java:305)
at com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard.access$0(ExportWizard.java:234)
at com.android.ide.eclipse.adt.internal.wizards.export.ExportWizard$1.run(ExportWizard.java:219)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: com.android.ide.eclipse.adt.internal.build.DexException: Conversion to Dalvik format failed with error 1
at com.android.ide.eclipse.adt.internal.build.BuildHelper.executeDx(BuildHelper.java:759)
at com.android.ide.eclipse.adt.internal.project.ExportHelper.exportReleaseApk(ExportHelper.java:280)
... 4 more
我也得到了这个
Invalid ZIP archive: C:\googledevelopement\facebook-android-sdk-3.0.2\facebook\bin\facebooksdk.jar
我使用facebook sdk和admob库。任何帮助将非常感激,因为它让我疯狂