desword / android-apktool

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

I can not decompile SystemUI.apk #627

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello, I'm new at this, when I was trying to decompile the SystemUI.apk from a 
rom, appeared to me this way:

I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\(name)\apktool\framework\
1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x0108081d
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080779
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x7f0200f7
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x0108081c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x0108081c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
drawable, value=0x01080754
I: Decoding values */* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec:
0x0108081d
        at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:61)
        at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:58)
        at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
        at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferen
ceValue.java:62)
        at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResRefe
renceValue.java:46)
        at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResSca
larValue.java:44)
        at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:4
0)
        at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlRe
sourceParser.java:313)
        at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValu
e(XmlPullParserDelegate.java:69)
        at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartT
ag(StaticXmlSerializerWrapper.java:267)
        at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Stati
cXmlSerializerWrapper.java:211)
        at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamD
ecoder.java:80)
        at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:130)
        at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:34)
        at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:1
07)
        at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:9
1)
        at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:238
)
        at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:115)
        at brut.androlib.ApkDecoder.decode(ApkDecoder.java:114)
        at brut.apktool.Main.cmdDecode(Main.java:146)
        at brut.apktool.Main.main(Main.java:77)

How can I solve my problem? 
I use apktool1.5.2 with windows 7 x32bits, and the file is

Original issue reported on code.google.com by BrunaF.Micael on 27 Apr 2014 at 1:13

Attachments:

GoogleCodeExporter commented 9 years ago
Find the framework with pkg id of 1, and install that.

As you can see it can't find some of the attribute values that are assigned to 
the framework of 0x01. 

Original comment by connor.tumbleson on 27 Apr 2014 at 1:17

GoogleCodeExporter commented 9 years ago
How do I do that? sorry, but not really realize it.

Original comment by BrunaF.Micael on 27 Apr 2014 at 1:21