[Galaxy S Advance I9070 Q&A, Help & Troubleshooting] Sami Kabir:
Anyone knows why I'm getting this error when I try to recompile an unedited stock SecPhone.apk?? Well, the only thing I changed were the Icons which are of the same width and height...

P:\Android\APKTOOL>apktool b secphone secphone.apk
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
P:\Android\APKTOOL\secphone\res\values-es\strings.xml:195: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
P:\Android\APKTOOL\secphone\res\values-es\strings.xml:196: error: Unexpected end
tag string
P:\Android\APKTOOL\secphone\res\values-es-rUS\strings.xml:206: error: Multiple s
ubstitutions specified in non-positional format; did you mean to add the formatt
ed="false" attribute?
P:\Android\APKTOOL\secphone\res\values-es-rUS\strings.xml:207: error: Unexpected
end tag string
P:\Android\APKTOOL\secphone\res\values-it\strings.xml:204: error: Multiple subst
itutions specified in non-positional format; did you mean to add the formatted="
false" attribute?
P:\Android\APKTOOL\secphone\res\values-it\strings.xml:205: error: Unexpected end
tag string
aapt: warning: string 'long_press_volume_down_to_end_call' has no default transl
ation in P:\Android\APKTOOL\secphone\res; found: bg cs da de el en_US es_ES et f
i fr ga hr hu is kk ko lt lv mk nb nl pl pt_PT ro ru sk sl sr sv tr uk
aapt: warning: string 'long_press_volume_down_to_reject' has no default translat
ion in P:\Android\APKTOOL\secphone\res; found: bg cs da de el en_US es_ES et fi
fr ga hr hu is kk ko lt lv mk nb nl pl pt_PT ro ru sk sl sr sv tr uk
aapt: warning: string 'long_press_volume_up_to_accept' has no default translatio
n in P:\Android\APKTOOL\secphone\res; found: bg cs da de el en_US es_ES et fi fr
ga hr hu is kk ko lt lv mk nb nl pl pt_PT ro ru sk sl sr sv tr uk
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 16, --target-sdk-version, 16, -F, C:\Users\SAMIOS~1\AppData\Local\T
emp\APKTOOL4812824822836309699.tmp, -0, arsc, -I, C:\Users\Sami OS\apktool\frame
work\1.apk, -I, C:\Users\Sami OS\apktool\framework\2.apk, -S, P:\Android\APKTOOL
\secphone\res, -M, P:\Android\APKTOOL\secphone\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:
\Users\SAMIOS~1\AppData\Local\Temp\APKTOOL4812824822836309699.tmp, -0, arsc, -I,
C:\Users\Sami OS\apktool\framework\1.apk, -I, C:\Users\Sami OS\apktool\framewor
k\2.apk, -S, P:\Android\APKTOOL\secphone\res, -M, P:\Android\APKTOOL\secphone\An
droidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 16, --target-sdk-version, 16, -F, C:\Users\SAMIOS~1\AppData\Local\Tem
p\APKTOOL4812824822836309699.tmp, -0, arsc, -I, C:\Users\Sami OS\apktool\framewo
rk\1.apk, -I, C:\Users\Sami OS\apktool\framework\2.apk, -S, P:\Android\APKTOOL\s
ecphone\res, -M, P:\Android\APKTOOL\secphone\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more