Closed GoogleCodeExporter closed 9 years ago
What sucks is now trying to get this to work now Phone wont compile due to this
error not sure if they are related or not....
H:\Themes\Stock\Stock Phone>java -jar C:\Windows\apktool.jar b Phone Phone.apk
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
H:\Themes\Stock\Stock Phone\Phone\res\values-de\strings.xml:194: error:
Multiple substitutions specified in non-position
al format; did you mean to add the formatted="false" attribute?
H:\Themes\Stock\Stock Phone\Phone\res\values-de\strings.xml:195: error:
Unexpected end tag string
H:\Themes\Stock\Stock Phone\Phone\res\values-es\strings.xml:194: error:
Multiple substitutions specified in non-position
al format; did you mean to add the formatted="false" attribute?
H:\Themes\Stock\Stock Phone\Phone\res\values-es\strings.xml:195: error:
Unexpected end tag string
H:\Themes\Stock\Stock Phone\Phone\res\values-es-rUS\strings.xml:197: error:
Multiple substitutions specified in non-posi
tional format; did you mean to add the formatted="false" attribute?
H:\Themes\Stock\Stock Phone\Phone\res\values-es-rUS\strings.xml:198: error:
Unexpected end tag string
H:\Themes\Stock\Stock Phone\Phone\res\values-it\strings.xml:194: error:
Multiple substitutions specified in non-position
al format; did you mean to add the formatted="false" attribute?
H:\Themes\Stock\Stock Phone\Phone\res\values-it\strings.xml:195: error:
Unexpected end tag string
Exception in thread "main" brut.androlib.AndrolibException:
brut.common.BrutException: could not exec command: [aapt, p,
-F, C:\Users\langeg\AppData\Local\Temp\APKTOOL5156915918568866290.tmp, -I, C:\Users\langeg\apktool\framework\1.apk, -S,
H:\Themes\Stock\Stock Phone\Phone\res, -M, H:\Themes\Stock\Stock Phone\Phone\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\langeg\AppData\Local\Temp\APKTOOL51
56915918568866290.tmp, -I, C:\Users\langeg\apktool\framework\1.apk, -S,
H:\Themes\Stock\Stock Phone\Phone\res, -M, H:\Th
emes\Stock\Stock Phone\Phone\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
... 6 more
Original comment by Gregory....@gmail.com
on 7 Mar 2012 at 10:51
Having a similar issue with LT26i framework-res.apk. A lot of:
/home/brunojcm/Android/LT26i/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/brunojcm/Android/LT26i/framework-res/res/values-es-rUS/plurals.xml:79:
error: Found tag </item> where </plurals> is expected
Original comment by bruno...@gmail.com
on 28 Jun 2012 at 3:18
Seems to be fixed in v1.5.0
Original comment by connor.tumbleson
on 17 Nov 2012 at 8:48
Original issue reported on code.google.com by
Gregory....@gmail.com
on 7 Mar 2012 at 10:06