What steps will reproduce the problem?
1. Deodexing framework-res.apk (2.3.4)
2.
3.
What is the expected output? What do you see instead?
C:\Users\Vincenzo\Desktop\TOOL>apktool d framework-res.apk
I: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:55)
at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:315)
at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:50)
at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:43)
at brut.androlib.Androlib.getResTable(Androlib.java:44)
at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
at brut.apktool.Main.cmdDecode(Main.java:120)
at brut.apktool.Main.main(Main.java:57)
Caused by: java.io.IOException: Expected: 0x00000008, got: 0x00000004
at brut.util.ExtDataInput.skipCheckShort(ExtDataInput.java:56)
at brut.androlib.res.decoder.ARSCDecoder.readValue(ARSCDecoder.java:217)
at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:177)
at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:165
)
at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:130)
at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:10
5)
at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
... 8 more
C:\Users\Vincenzo\Desktop\TOOL>
What version of the product are you using? On what operating system?
apktool1.4.2.0c428dd.jar
Windows 7 64 bit
Please provide any additional information below.
Original issue reported on code.google.com by mylot...@gmail.com on 8 Jul 2011 at 9:23
Original issue reported on code.google.com by
mylot...@gmail.com
on 8 Jul 2011 at 9:23