错误Android Dex:意外的顶级异常:

时间:2013-09-18 10:53:40

标签: android intellij-idea

在Intelli J Idea上编译Android项目时出现以下错误:

Android Dex: [TodoTxtTouch] UNEXPECTED TOP-LEVEL EXCEPTION:
Android Dex: [TodoTxtTouch] java.util.zip.ZipException: error in opening zip file
Android Dex: [TodoTxtTouch] at java.util.zip.ZipFile.open(Native Method)
Android Dex: [TodoTxtTouch] at java.util.zip.ZipFile.(ZipFile.java:128)
Android Dex: [TodoTxtTouch] at java.util.zip.ZipFile.(ZipFile.java:145)
Android Dex: [TodoTxtTouch] at com.android.dx.cf.direct.ClassPathOpener.processArchive(ClassPathOpener.java:206)

任何人都知道可能导致这些问题的原因或者如何使用intellij将DX编译器调入调试模式以便我可以发现导致此问题的文件?

由于

1 个答案:

答案 0 :(得分:0)

也许您在项目中添加了重复的包,您可以尝试删除android-support-v13.jar和android-support-v4.jar?