[Desire HD Android Development] perern:
BAD

I am trying to compile SystemUI and Framework-res for Lord clockans ICS rom. Decompiling goes fine without any errors. But compiling gives errors:

[*] C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res

recompiling C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res...

W: Could not find sources

I: Building resources...

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values\plurals.xml:79: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-af\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-am\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-ar\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-bg\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-ca\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-cs\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-da\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-de\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-el\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-en-rGB\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-es\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-es-rUS\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-fa\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-fi\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-fr\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-hi\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-hr\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-hu\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-in\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-it\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-iw\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-ja\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-ko\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-lt\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-lv\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-ms\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-nb\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-nl\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-pl\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-pt\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-pt-rPT\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-ro\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-ru\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-sk\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-sl\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-sr\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-sv\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-sw\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-th\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-tl\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-tr\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-uk\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-vi\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-zh-rCN\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res\values-zh-rTW\plurals.xml:79: error: Found tag </item> where </plurals> is expected

C:\AutoAPKTool2.0.0\_INPUT_APK\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?

C:\AutoAPKTool2.0.0\_INPUT_APK\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, C:\Users\PERKRI~1\AppData\Local\Temp\APKTOOL8855548730975791009.tmp, -x, -S, C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res, -M, C:\AutoAPKTool2.0.0\_INPUT_APK\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, C:\Users\PERKRI~1\AppData\Local\Temp\APKTOOL8855548730975791009.tmp, -x, -S, C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\res, -M, C:\AutoAPKTool2.0.0\_INPUT_APK\framework-res\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:83)

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)

... 6 more

I have seen some others getting this error, maybe they fixed it

I am trying to compile these two:

http://www.mediafire.com/download.php?1cr5p09pxcyamw7

One at a time.