when i just decompile swap a couple of png then recompile it works just fine. or even if i edit the android manifest.
its when i try to edit and xml and compile it. thats when it goes bonkers. i have been reading that you need to use option 22 when compileing a framework. but i dont have that.
does your apktool have a script with options or do you do the
-d framework-res.apk out way?
this is what what i get when running the command.
Code:
[email protected]:~$ apktool if framework-res.apk
Exception in thread "main" brut.androlib.AndrolibException: java.util.zip.ZipException: error in opening zip file
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:404)
at brut.androlib.Androlib.installFramework(Androlib.java:365)
at brut.apktool.Main.cmdInstallFramework(Main.java:185)
at brut.apktool.Main.main(Main.java:61)
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:131)
at java.util.zip.ZipFile.<init>(ZipFile.java:148)
at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:374)
... 3 more