sky201503 / android-apktool-1

Automatically exported from code.google.com/p/android-apktool
0 stars 0 forks source link

apktool if /system/framework/framework-res.apk fails even through the file is on the device #295

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Runnning apktool if /system/framework/framework-res.apk

What is the expected output? What do you see instead?
I: Framework installed to: [HOMEDIR]/apktool/framework/2.apk
apktool if /system/framework/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:193)
    at brut.apktool.Main.main(Main.java:69)
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:127)
    at java.util.zip.ZipFile.<init>(ZipFile.java:143)
    at brut.androlib.res.AndrolibResources.installFramework(AndrolibResources.java:374)

What version of the product are you using? On what operating system?
Device: Samsung Galaxy SII LTE (SC-03D) 
Android Version: 2.3.6
Build Number: GINGERBREAD.OMKK3
Root Access: Enabled

Please provide any additional information below.
I did an adb shell and navigated the the /system/framework folder and I located 
the file framework-res.apk on the device

Original issue reported on code.google.com by darren.s...@gmail.com on 24 Jan 2012 at 4:37

GoogleCodeExporter commented 9 years ago
I had the same problem in amdroid 4.o

Original comment by zhangmin...@dianxinos.me on 17 Feb 2012 at 7:07

GoogleCodeExporter commented 9 years ago
1. cd /home/%your_name%
2. adb pull /system/framework/framework-res.apk
3. apktool if framework-res.apk

Original comment by az.burg...@gmail.com on 30 Mar 2012 at 9:57

GoogleCodeExporter commented 9 years ago
I also have the same problem.

apktool if /system/framework/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:193)
    at brut.apktool.Main.main(Main.java:69)
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

Original comment by uhaya...@gmail.com on 13 Jul 2012 at 3:25

GoogleCodeExporter commented 9 years ago
These are errors opening the ZIP, which could be caused by a variety of things 
not related to Apktool

Original comment by connor.tumbleson on 17 Nov 2012 at 2:23