kuter007 / android-apktool

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

Invalid value type: 255 #639

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying to unpack an apk and I get the following error: 

I: Using Apktool 2.0.0-Beta9 on ArtFlow-fr.apk
I: Loading resource table...
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\cran\apktool\framework\1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, 
name=1.5.55, value=0xffffffff
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
Exception in thread "main" brut.androlib.AndrolibException: Invalid value type: 
255
        at brut.androlib.res.data.value.ResValueFactory.factory(ResValueFactory.java:62)
        at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:30)
        at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:351)
        at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
        at brut.androlib.res.decoder.XmlPullStreamDecoder$1.parseAttr(XmlPullStreamDecoder.java:115)
        at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:72)
        at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:146)
        at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:160)
        at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:131)
        at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:276)
        at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:116)
        at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
        at brut.apktool.Main.cmdDecode(Main.java:169)
        at brut.apktool.Main.main(Main.java:85)

You may find the apk here: https://www.oboom.com/#GF5SFEDP

Original issue reported on code.google.com by name.is....@gmail.com on 27 May 2014 at 4:10

GoogleCodeExporter commented 9 years ago

Original comment by connor.tumbleson on 29 May 2014 at 1:24