apktoto解码32位Ubuntu上的错误

时间:2014-03-13 12:52:51

标签: java android ubuntu apk

当我在Ubuntu 12.04 LTS(32)上运行apktool时,出了点问题。但是当我在Ubuntu 12.04 LTS(64)上运行它时,一切都还可以。

Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: java.util.zip.ZipException: archive is not a ZIP archive
    at brut.androlib.ApkDecoder.hasResources(ApkDecoder.java:247)
    at brut.androlib.ApkDecoder.decode(ApkDecoder.java:91)
    at brut.apktool.Main.cmdDecode(Main.java:169)
    at brut.apktool.Main.main(Main.java:85)
Caused by: brut.directory.DirectoryException: java.util.zip.ZipException: archive is not a ZIP archive
    at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:54)
    at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:37)
    at brut.androlib.res.util.ExtFile.getDirectory(ExtFile.java:55)
    at brut.androlib.ApkDecoder.hasResources(ApkDecoder.java:245)
    ... 3 more
Caused by: java.util.zip.ZipException: archive is not a ZIP archive
    at org.apache.commons.compress.archivers.zip.ZipFile.positionAtCentralDirectory32(ZipFile.java:717)
    at org.apache.commons.compress.archivers.zip.ZipFile.positionAtCentralDirectory(ZipFile.java:672)
    at org.apache.commons.compress.archivers.zip.ZipFile.populateFromCentralDirectory(ZipFile.java:406)
    at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:206)
    at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:182)
    at org.apache.commons.compress.archivers.zip.ZipFile.<init>(ZipFile.java:143)
    at brut.directory.ZipExtFile.<init>(ZipExtFile.java:28)
    at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:52)
    ... 6 more

0 个答案:

没有答案