notishell / android-apktool

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

java.lang.ClassCastException: ResFileValue to ResScalarValue #667

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I found a class cast exception when parser these apk.
Exception in thread "main" java.lang.ClassCastException: 
brut.androlib.res.data.value.ResFileValue cannot be cast to 
brut.androlib.res.data.value.ResScalarValue
    at brut.androlib.res.decoder.ARSCDecoder.readComplexEntry(ARSCDecoder.java:207)
    at brut.androlib.res.decoder.ARSCDecoder.readEntry(ARSCDecoder.java:175)
    at brut.androlib.res.decoder.ARSCDecoder.readConfig(ARSCDecoder.java:162)
    at brut.androlib.res.decoder.ARSCDecoder.readType(ARSCDecoder.java:128)
    at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:103)
    at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:81)
    at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:49)
    at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:40)
    at brut.androlib.DecodeTest.main(DecodeTest.java:18)

Original issue reported on code.google.com by lxb...@gmail.com on 12 Aug 2014 at 6:09

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by connor.tumbleson on 12 Aug 2014 at 12:14