[XDA-University] DeGygii:
Hi everybody

Thanks very much for this guide. I have a problem though: when i try to decompile ANNEX-CM10.1-TEMPLATE.apk i get an error. Other apks work perfectly fine, but this one seems to either be corrupt or my pc has a problem with it...

logfile:

Der Befehl "mode" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
java version "1.7.0_21"
Java(TM) SE Runtime Environment (build 1.7.0_21-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Lukas Gygi\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=bitmap, value=0x0202064f
W: Could not decode attr value, using undecoded value instead: ns=android, name=hotSpotX, value=0x41c00000
W: Could not decode attr value, using undecoded value instead: ns=android, name=hotSpotY, value=0x41c00000
W: Could not decode attr value, using undecoded value instead: ns=android, name=bitmap, value=0x0202064d
W: Could not decode attr value, using undecoded value instead: ns=android, name=hotSpotX, value=0x42040000
W: Could not decode attr value, using undecoded value instead: ns=android, name=hotSpotY, value=0x42040000
W: Could not decode attr value, using undecoded value instead: ns=android, name=bitmap, value=0x0202064b
W: Could not decode attr value, using undecoded value instead: ns=android, name=hotSpotX, value=0x42040000
W: Could not decode attr value, using undecoded value instead: ns=android, name=hotSpotY, value=0x42040000
W: Could not decode attr value, using undecoded value instead: ns=android, name=bitmap, value=0x02020649
W: Could not decode attr value, using undecoded value instead: ns=android, name=hotSpotX, value=0x41100000
W: Could not decode attr value, using undecoded value instead: ns=android, name=hotSpotY, value=0x41100000
I: Decoding values */* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x01010422
at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:58)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:54)
at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:50)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:35)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:351)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:87)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:141)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:33)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:107)
at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:91)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:285)
at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:113)
at brut.androlib.ApkDecoder.decode(ApkDecoder.java:116)
at brut.apktool.Main.cmdDecode(Main.java:148)
at brut.apktool.Main.main(Main.java:77)

Unfortunately I haven't found any other template for CM 10.1, only the blackbean theme engine template by ebs512, which is a zip file, which i have no idea what to do with/how to compile it. If anybody can help me out with another template or explain what to do with the zip, I would really appreciate it. :)

thanks in advance