apk-mitm
apk-mitm copied to clipboard
Error patching myTouchSmart - java.util.zip.ZipException: error in opening zip file
This is the application I am trying to patch: myTouchSmart
I've installed the latest Node and Java 8 runtimes (I'm using OpenJDK). I used adb pull
to extract the package for this application from my Android device as base.apk
and tried to run apk-mitm base.apk
.
I: Using Apktool 2.6.1 on base.apk
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.DirectoryException: java.util.zip.ZipException: error in opening zip file
at brut.androlib.ApkDecoder.hasResources(ApkDecoder.java:290)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:96)
at brut.apktool.Main.cmdDecode(Main.java:175)
at brut.apktool.Main.main(Main.java:79)
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:49)
at brut.androlib.ApkDecoder.hasResources(ApkDecoder.java:288)
... 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:228)
at java.util.zip.ZipFile.<init>(ZipFile.java:157)
at java.util.zip.ZipFile.<init>(ZipFile.java:171)
at brut.directory.ZipRODirectory.<init>(ZipRODirectory.java:53)
... 6 more