[Android Software Development] marhensa:
I cannot re-compile Phone.apk from AOSP ROM (PA 2.99 - JB 4.2.1)

Decompile seems fine,

but recompile always fail on some strings.xml thingy..

Trying on Windows 8 64 bit.

I'm just editing one xml,

which is on \res\layout\incall_touch_ui.xml

but the logs seems failed on other xml file.

Here the Logs:

D:\apktool>apktool if framework-res.apk
I: Framework installed to: C:\Users\Marhensa Aditya Hadi\apktool\framework\1.apk

D:\apktool>apktool d Phone.apk
I: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Marhensa Aditya Hadi\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...

D:\apktool>apktool b Phone
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
D:\apktool\Phone\res\values-de\strings.xml:170: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
D:\apktool\Phone\res\values-de\strings.xml:171: error: Unexpected end tag string

D:\apktool\Phone\res\values-es\strings.xml:170: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
D:\apktool\Phone\res\values-es\strings.xml:171: error: Unexpected end tag string

D:\apktool\Phone\res\values-es-rUS\strings.xml:173: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false"attribute?
D:\apktool\Phone\res\values-es-rUS\strings.xml:174: error: Unexpected end tag string
D:\apktool\Phone\res\values-it\strings.xml:170: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
D:\apktool\Phone\res\values-it\strings.xml:171: error: Unexpected end tag string

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\MARHEN~1\AppData\Local\Temp\APKTOOL2491005820619342802.tmp, -I, C:\Users\Marhensa Aditya Hadi\apktool\framework\1.apk, -S, D:\apktool\Phone\res, -M, D:\apktool\Phone\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:357)
at brut.androlib.Androlib.buildResources(Androlib.java:282)
at brut.androlib.Androlib.build(Androlib.java:205)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:218)
at brut.apktool.Main.main(Main.java:74)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\MARHEN~1\AppData\Local\Temp\APKTOOL2491005820619342802.tmp, -I, C:\Users\Marhensa Aditya Hadi\apktool\framework\1.apk, -S, D:\apktool\Phone\res, -M, D:\apktool\Phone\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:349)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:335)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\MARHEN~1\AppData\Local\Temp\APKTOOL2491005820619342802.tmp, -I, C:\Users\Marhensa Aditya Hadi\apktool\framework\1.apk, -S, D:\apktool\Phone\res, -M, D:\apktool\Phone\AndroidManifest.xml]

at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:347)
... 6 more

D:\apktool>

http://pastebin.com/kuceUu2F

And Phone.apk + Framework is on the attachment.

Please help...

Thank you..