[Android Q&A, Help & Troubleshooting] EmeraldTimer:
I am trying to edit Conversation.apk in apktool but when i try to decompile it i have this output:

--------------------------------------------------------------------------
|25/05/2013 -- 21.41.37,84|
--------------------------------------------------------------------------
--------------------------------------------------------------------------
|25/05/2013 -- 21.41.54,04|
--------------------------------------------------------------------------
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\Emerald\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
hardwareAccelerated, value=0xffffffff
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layerType, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
directionality, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
showAsAction, value=0x00000002
W: Could not decode attr value, using undecoded value instead: ns=android, name=
directionality, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
ordering, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
valueFrom, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
valueTo, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
propertyName, value=0x0000000b
Exception in thread "main" java.lang.NullPointerException
at java.io.Writer.write(Unknown Source)
at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSeria
lizer.java:38)
at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:
673)
at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSer
ializerDelegate.java:106)
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:87)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:141)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:33)
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: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)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Emerald\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
hardwareAccelerated, value=0xffffffff
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
ordering, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
valueFrom, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
valueTo, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
propertyName, value=0x0000000b
Exception in thread "main" java.lang.NullPointerException
at java.io.Writer.write(Unknown Source)
at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSeria
lizer.java:38)
at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:
673)
at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSer
ializerDelegate.java:106)
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:87)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:141)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:33)
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: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)
--------------------------------------------------------------------------
|25/05/2013 -- 21.49.34,26|
--------------------------------------------------------------------------
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\Emerald\apktool\framework\1.apk
I: Loaded.
W: Could not decode attr value, using undecoded value instead: ns=android, name=
hardwareAccelerated, value=0xffffffff
I: Regular manifest package...
I: Decoding file-resources...
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layerType, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
directionality, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x01010305
W: Could not decode attr value, using undecoded value instead: ns=android, name=
measureWithLargestChild, value=0xffffffff
W: Could not decode attr value, using undecoded value instead: ns=android, name=
layerType, value=0x00000001
W: Could not decode attr value, using undecoded value instead: ns=android, name=
directionality, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
background, value=0x0101039c
W: Could not decode attr value, using undecoded value instead: ns=android, name=
directionality, value=0x00000000
W: Could not decode attr value, using undecoded value instead: ns=android, name=
showAsAction, value=0x0000000a
W: Could not decode attr value, using undecoded value instead: ns=android, name=
actionViewClass, value=0x0000000b
Exception in thread "main" java.lang.NullPointerException
at java.io.Writer.write(Unknown Source)
at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSeria
lizer.java:38)
at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:
673)
at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSer
ializerDelegate.java:106)
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:87)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDe
coder.java:141)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamD
ecoderContainer.java:33)
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: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)
Premere un tasto per continuare . . .

I have this versions of Java

what can i do?