Try without spaces in the path...
Would have been better to ask in the apktool thread though...
sent from my HTC desire using xda premium
Hey thanks, got it working. Now there s another problem withing recompiling it...
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool>cmd
Microsoft Windows [Version 6.0.6002]
Copyright (c) 2006 Microsoft Corporation. All rights reserved.
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool>apktool b framework-r
es
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues\plurals.xml:79: error: Multiple substitutions specified in non-positional fo
rmat; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-af\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-af\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-am\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-am\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-ar\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-ar\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-bg\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-bg\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-ca\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-ca\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-cs\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-cs\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-da\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-da\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-de\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-de\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-el\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-el\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-en-rGB\plurals.xml:79: error: Multiple substitutions specified in non-positi
onal format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-en-rGB\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-es\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-es\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-es-rUS\plurals.xml:79: error: Multiple substitutions specified in non-positi
onal format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-es-rUS\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-fa\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-fa\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-fi\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-fi\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-fr\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-fr\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-hi\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-hi\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-hr\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-hr\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-hu\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-hu\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-in\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-in\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-it\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-it\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-iw\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-iw\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-ja\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-ja\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-ko\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-ko\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-lt\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-lt\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-lv\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-lv\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-ms\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-ms\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-nb\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-nb\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-nl\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-nl\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-pl\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-pl\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-pt\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-pt\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-pt-rPT\plurals.xml:79: error: Multiple substitutions specified in non-positi
onal format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-pt-rPT\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-ro\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-ro\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-ru\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-ru\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-sk\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-sk\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-sl\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-sl\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-sr\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-sr\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-sv\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-sv\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-sw\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-sw\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-th\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-th\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-tl\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-tl\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-tr\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-tr\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-uk\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-uk\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-vi\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-vi\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-zh-rCN\plurals.xml:79: error: Multiple substitutions specified in non-positi
onal format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-zh-rCN\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-zh-rTW\plurals.xml:79: error: Multiple substitutions specified in non-positi
onal format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-zh-rTW\plurals.xml:79: error: Found tag </item> where </plurals> is expected
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-zu\plurals.xml:79: error: Multiple substitutions specified in non-positional
format; did you mean to add the formatted="false" attribute?
C:\Users\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res\val
ues-zu\plurals.xml:79: error: Found tag </item> where </plurals> is expected
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Nicholas\AppData\Local\Tem
p\APKTOOL2981624911940374723.tmp, -x, -S, C:\Users\Nicholas\Desktop\APKTool and
the Template\APKTool\framework-res\res, -M, C:\Users\Nicholas\Desktop\APKTool an
d the Template\APKTool\framework-res\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a: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:\U
sers\Nicholas\AppData\Local\Temp\APKTOOL2981624911940374723.tmp, -x, -S, C:\User
s\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\res, -M, C:\Us
ers\Nicholas\Desktop\APKTool and the Template\APKTool\framework-res\AndroidManif
est.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more
Please help...?