Lucky-T
2018-01-22 03:11
采纳率: 100%
浏览 3.9k
已采纳

求解,为什么APKtool反编译出错

C:\Users\Administrator\apktool>apktool d huleyquan.apk
I: Using Apktool 2.3.1 on huleyquan.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.Direc
toryException: java.util.zip.ZipException: error in opening zip file
    at brut.androlib.ApkDecoder.hasResources(ApkDecoder.java:307)
    at brut.androlib.ApkDecoder.decode(ApkDecoder.java:103)
    at brut.apktool.Main.cmdDecode(Main.java:163)
    at brut.apktool.Main.main(Main.java:72)
Caused by: brut.directory.DirectoryException: java.util.zip.ZipException: error
in opening zip file
    at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:55)
    at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:38)
    at brut.directory.ExtFile.getDirectory(ExtFile.java:52)
    at brut.androlib.ApkDecoder.hasResources(ApkDecoder.java:305)
    ... 3 more
Caused by: java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(ZipFile.java:225)
    at java.util.zip.ZipFile.<init>(ZipFile.java:155)
    at java.util.zip.ZipFile.<init>(ZipFile.java:169)
    at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:53)
    ... 6 more

环境正常设置
版本:

C:\Users\Administrator>java -version
java version "1.8.0_144"
Java(TM) SE Runtime Environment (build 1.8.0_144-b01)
Java HotSpot(TM) Client VM (build 25.144-b01, mixed mode)
  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 邀请回答

5条回答 默认 最新

相关推荐 更多相似问题