sky201503 / android-apktool-1

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

ClassCastException when decompile Seesmic(v1.7.2) APK #289

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Who can help me with this ?Error when decompile Seesmic v1.7.2

Exception in thread "main" java.lang.ClassCastException: brut.androlib.res.data.
value.ResReferenceValue cannot be cast to brut.androlib.res.data.value.ResString
Value
        at brut.androlib.res.data.value.ResPluralsValue.<init>(ResPluralsValue.j
ava:36)
        at brut.androlib.res.data.value.ResValueFactory.bagFactory(ResValueFacto
ry.java:88)
        at brut.androlib.res.decoder.ARSCDecoder.readComplexEntry(ARSCDecoder.ja
va:213)
        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)
        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)

What version of the product are you using? On what operating system?
Seesmic v1.7.2

Original issue reported on code.google.com by wangchao...@gmail.com on 13 Jan 2012 at 11:39

GoogleCodeExporter commented 9 years ago

Original comment by connor.tumbleson on 17 Nov 2012 at 6:29