[Android Q&A, Help & Troubleshooting] hertzschi:
Hi all,

I tried to decompile SamsungWidget_WeatherClock.apk to correct an annoying typo in german translation.

But anytime I get errors those errors.

I installed the frameworks, and other apps to decompile work.

What I'm missing?

I attached the apk, if someone wants to try out to decompile himself.

I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\hertzschi\apktool\framework\1.apk
I: Loaded.
I: Loading resource table from file: C:\Users\hertzschi\apktool\framework\2.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x02090015
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000d
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000d
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000f
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000e
W: Could not decode attr value, using undecoded value instead: ns=android, name=textAppearance, value=0x0209000f
I: Decoding values */* XMLs...
I: Done.
Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x02090015
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(ResReferenceValue.java:62)
at brut.androlib.res.data.value.ResReferenceValue.encodeAsResXml(ResReferenceValue.java:46)
at brut.androlib.res.data.value.ResScalarValue.encodeAsResXmlAttr(ResScalarValue.java:44)
at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:40)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:313)
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:80)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:130)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:144)
at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:131)
at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:218)
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)