[LG Optimus 2x] peewster:
Ok, i'm having some issues with apktool.

I've installed sdk (Ubuntu)

now when i decompile for example Settings.apk:

java -Xmx512m -jar apktool.jar d Settings.apk somefolder i get this:

java -Xmx512m -jar /usr/local/bin/apktool.jar d Settings.apk out
I: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Decoding resources...
I: Loading resource table from file: /root/apktool/framework/1.apk
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Could not decode attr value, using undecoded value instead: ns=android, name=theme, value=0x010300a3
W: Cant find 9patch chunk in file: "drawable-hdpi/appwidget_settings_ind_on_r.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/appwidget_inner_focus_c.9.png". Renaming it to *.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name=id, value=0x0102023c
W: Cant find 9patch chunk in file: "drawable-hdpi/appwidget_settings_ind_on_c.9.png". Renaming it to *.png.
W: Could not decode attr value, using undecoded value instead: ns=android, name=id, value=0x0102023c
W: Cant find 9patch chunk in file: "drawable-hdpi/appwidget_inner_focus_r.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/appwidget_settings_ind_on_l.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/appwidget_inner_press_c.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/appwidget_inner_focus_l.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/appwidget_inner_press_r.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/appwidget_inner_press_l.9.png". Renaming it to *.png.
[B]Exception in thread "main" brut.androlib.err.UndefinedResObject: resource spec: 0x010300a3[/B]
at brut.androlib.res.data.ResPackage.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.ResTable.getResSpec(Unknown Source)
at brut.androlib.res.data.value.ResReferenceValue.getReferent(Unknown Source)
at brut.androlib.res.data.value.ResReferenceValue.toResXmlFormat(Unknown Source)
at brut.androlib.res.data.value.ResAttr.convertToResXmlFormat(Unknown Source)
at brut.androlib.res.decoder.ResAttrDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(Unknown Source)
at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(Unknown Source)
at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(Unknown Source)
at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(Unknown Source)
at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(Unknown Source)
at brut.androlib.res.decoder.ResFileDecoder.decode(Unknown Source)
at brut.androlib.res.AndrolibResources.decode(Unknown Source)
at brut.androlib.Androlib.decodeResourcesFull(Unknown Source)
at brut.androlib.ApkDecoder.decode(Unknown Source)
at brut.apktool.Main.cmdDecode(Unknown Source)
at brut.apktool.Main.main(Unknown Source)

So just try to edit a file anyway...

Now when building the apk i get:

java -Xmx512m -jar /usr/local/bin/apktool.jar b
Exception in thread "main" brut.androlib.AndrolibException: brut.directory.PathNotExist: apktool.yml
at brut.androlib.Androlib.readMetaFile(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.directory.PathNotExist: apktool.yml
at brut.directory.AbstractDirectory.getFileInput(Unknown Source)
... 5 more

I'm really new to this sort of things, so i really don't know why this is happening...

Maybe someone can give me a hint or 2