[Android Software Development] llohcyoing:
this is my output when i try to recompile framework-res (decompile work fine) without changes...

im on ubuntu 12.04

framework from CM10

aapt patched from the op

apktool 1.5.0.jar

llo@llo-System:~/Scrivania$ apktool b framework-res
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
/home/llo/Scrivania/framework-res/res/values/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-af/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-af/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-am/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-am/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-ar/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-ar/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-bg/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-bg/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-ca/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-ca/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-cs/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-cs/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-da/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-da/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-de/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-de/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-el/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-el/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-en-rGB/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-en-rGB/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-es/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-es/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-es-rUS/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-es-rUS/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-fa/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-fa/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-fi/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-fi/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-fr/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-fr/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-hi/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-hi/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-hr/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-hr/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-hu/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-hu/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-in/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-in/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-it/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-it/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-iw/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-iw/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-ja/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-ja/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-ko/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-ko/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-lt/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-lt/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-lv/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-lv/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-ms/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-ms/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-nb/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-nb/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-nl/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-nl/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-pl/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-pl/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-pt/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-pt/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-pt-rPT/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-pt-rPT/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-ro/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-ro/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-ru/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-ru/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-sk/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-sk/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-sl/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-sl/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-sr/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-sr/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-sv/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-sv/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-sw/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-sw/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-th/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-th/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-tl/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-tl/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-tr/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-tr/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-uk/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-uk/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-vi/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-vi/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-zh-rCN/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-zh-rCN/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-zh-rTW/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-zh-rTW/plurals.xml:79: error: Found tag </item> where </plurals> is expected
/home/llo/Scrivania/framework-res/res/values-zu/plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
/home/llo/Scrivania/framework-res/res/values-zu/plurals.xml:79: error: Found tag </item> where </plurals> is expected
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL6379856862708693620.tmp, -x, -S, /home/llo/Scrivania/framework-res/res, -M, /home/llo/Scrivania/framework-res/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
at brut.androlib.Androlib.buildResources(Androlib.java:248)
at brut.androlib.Androlib.build(Androlib.java:171)
at brut.androlib.Androlib.build(Androlib.java:154)
at brut.apktool.Main.cmdBuild(Main.java:182)
at brut.apktool.Main.main(Main.java:67)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, /tmp/APKTOOL6379856862708693620.tmp, -x, -S, /home/llo/Scrivania/framework-res/res, -M, /home/llo/Scrivania/framework-res/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more

what im doing for this...?