我曾经让Proguard 4.6 完美地在 Eclipse 3.6.2 上导出签名的应用程序。
但是一旦我将我的 ADT + SDK 从 更新16.0.0.v201112150204-238534
到 ,18.0.0.v201203301601-306762
我就不能再导出签名的应用程序(调试版本工作正常)。相反,我在控制台中收到以下错误日志:
Proguard returned with error code 1. See console
java.io.IOException: Can't read [\\bta\wspc\LibProj1\bin\libproj1.jar] (Can't process class [com/bta/blib/proj1/BtClsProj1.class] (Unexpected end of ZLIB input stream))
at proguard.InputReader.readInput(InputReader.java:230)
at proguard.InputReader.readInput(InputReader.java:200)
at proguard.InputReader.readInput(InputReader.java:178)
at proguard.InputReader.execute(InputReader.java:78)
at proguard.ProGuard.readInput(ProGuard.java:196)
at proguard.ProGuard.execute(ProGuard.java:78)
at proguard.ProGuard.main(ProGuard.java:492)
Caused by: java.io.IOException: Can't process class [com/bta/blib/proj1/BtClsProj1.class] (Unexpected end of ZLIB input stream)
at proguard.io.ClassReader.read(ClassReader.java:112)
at proguard.io.FilteredDataEntryReader.read(FilteredDataEntryReader.java:87)
at proguard.io.JarReader.read(JarReader.java:65)
at proguard.io.DirectoryPump.readFiles(DirectoryPump.java:65)
at proguard.io.DirectoryPump.pumpDataEntries(DirectoryPump.java:53)
at proguard.InputReader.readInput(InputReader.java:226)
... 6 more
Caused by: java.lang.RuntimeException: Unexpected end of ZLIB input stream
at proguard.classfile.io.RuntimeDataInput.readInt(RuntimeDataInput.java:136)
at proguard.classfile.io.ProgramClassReader.visitProgramClass(ProgramClassReader.java:77)
at proguard.classfile.ProgramClass.accept(ProgramClass.java:346)
at proguard.io.ClassReader.read(ClassReader.java:91)
... 11 more
我搜索了 SO 以寻找线索,但我能找到的唯一相关线程是关于带有 Eclipse SDK 3.7.1 的 Proguard 4.7以及我显然没有的“Samsung's SPen SDK 1.5”的一些参考。
知道什么可能导致此问题以及如何解决问题吗?