[Android Software Development] yazilimcionline:
edit 2 : I fixed my problem. :D To install three programs had never occurred to me. First i installed the "framework-res.apk" + "lg-res.apk" and "lg-res-permissions.apk" from framework folder. then selected settings.apk and click the compile button wooov completed with any errors.

-----

Hi, I'm trying the system's settings.apk . (LG G3) but always give error.

I installed framework-res.apk but still can't decompile settings.apk. exp, LGHome decompile perfectly but LGEmail, LGMessage, LGxxx.apk always give similar error.

win7(64bit ultimate)

W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x020a01b0

Exception in thread "main" java.lang.NullPointerException

at java.io.Writer.write(Unknown Source)

at brut.androlib.res.util.ExtMXSerializer.writeAttributeValue(ExtMXSerializer.java:38)

at org.xmlpull.mxp1_serializer.MXSerializer.attribute(MXSerializer.java:673)

at org.xmlpull.v1.wrapper.classic.XmlSerializerDelegate.attribute(XmlSerializerDelegate.java:106)

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:83)

at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:141)

at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:153)

at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:140)

at brut.androlib.res.AndrolibResources.decodeManifestWithResources(AndrolibResources.java:199)

at brut.androlib.Androlib.decodeManifestWithResources(Androlib.java:140)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:100)

at brut.apktool.Main.cmdDecode(Main.java:165)

at brut.apktool.Main.main(Main.java:81)

edit 1 :

if "framework.apk" instead of "LGres.apk" have installed give this error.

Exception in thread "main" java.lang.ClassCastException: brut.androlib.res.data.value.ResBoolValue cannot be cast to brut.androlib.res.data.value.ResAttr

at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:65)

at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:502)

at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:252)

at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:135)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:102)

at brut.apktool.Main.cmdDecode(Main.java:165)

at brut.apktool.Main.main(Main.java:81)

if not install any apk form framework folder. Give this error when decompile only settings.apk

Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x0101052a

at brut.androlib.res.data.ResPackage.getResSpec(ResPackage.java:59)

at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:65)

at brut.androlib.res.data.ResTable.getResSpec(ResTable.java:61)

at brut.androlib.res.data.value.ResReferenceValue.getReferent(ResReferenceValue.java:57)

at brut.androlib.res.data.value.ResStyleValue.serializeToResValuesXml(ResStyleValue.java:54)

at brut.androlib.res.AndrolibResources.generateValuesFile(AndrolibResources.java:502)

at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:252)

at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:135)

at brut.androlib.ApkDecoder.decode(ApkDecoder.java:102)

at brut.apktool.Main.cmdDecode(Main.java:165)

at brut.apktool.Main.main(Main.java:81)