[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] Tan9890:
Trying to recompile phone.apk

Im using cyanogen 7.2 on my ray..

I'm tying to decompile the apk make the changes and recompile it again...

However the phone.apk dosent recompile.. It gives all those brut.alll errors..

Here's the log:

c:\apkt>java -jar apktool.jar b -f c:\apkt\phon c:\apkt\Phonez.apk

I: Smaling...

I: Building resources...

c:\apkt\phon\res\values-da\strings.xml:200: error: Multiple substitutions specif

ied in non-positional format; did you mean to add the formatted="false" attribut

e?

c:\apkt\phon\res\values-da\strings.xml:201: error: Unexpected end tag string

c:\apkt\phon\res\values-es\strings.xml:203: error: Multiple substitutions specif

ied in non-positional format; did you mean to add the formatted="false" attribut

e?

c:\apkt\phon\res\values-es\strings.xml:204: error: Unexpected end tag string

c:\apkt\phon\res\values-fi\strings.xml:200: error: Multiple substitutions specif

ied in non-positional format; did you mean to add the formatted="false" attribut

e?

c:\apkt\phon\res\values-fi\strings.xml:201: error: Unexpected end tag string

c:\apkt\phon\res\values-it\strings.xml:203: error: Multiple substitutions specif

ied in non-positional format; did you mean to add the formatted="false" attribut

e?

c:\apkt\phon\res\values-it\strings.xml:204: error: Unexpected end tag string

c:\apkt\phon\res\values-lv\strings.xml:205: error: Multiple substitutions specif

ied in non-positional format; did you mean to add the formatted="false" attribut

e?

c:\apkt\phon\res\values-lv\strings.xml:206: error: Unexpected end tag string

c:\apkt\phon\res\values-nb\strings.xml:200: error: Multiple substitutions specif

ied in non-positional format; did you mean to add the formatted="false" attribut

e?

c:\apkt\phon\res\values-nb\strings.xml:201: error: Unexpected end tag string

c:\apkt\phon\res\values-ru\strings.xml:208: error: Multiple substitutions specif

ied in non-positional format; did you mean to add the formatted="false" attribut

e?

c:\apkt\phon\res\values-ru\strings.xml:209: error: Unexpected end tag string

c:\apkt\phon\res\values-sv\strings.xml:203: error: Multiple substitutions specif

ied in non-positional format; did you mean to add the formatted="false" attribut

e?

c:\apkt\phon\res\values-sv\strings.xml:204: error: Unexpected end tag string

c:\apkt\phon\res\values-zh-rTW\strings.xml:205: error: Multiple substitutions sp

ecified in non-positional format; did you mean to add the formatted="false" attr

ibute?

c:\apkt\phon\res\values-zh-rTW\strings.xml:205: error: Unexpected end tag string

Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce

ption: could not exec command: [aapt, p, -F, C:\Users\Tanuj\AppData\Local\Temp\A

PKTOOL4820468380985856256.tmp, -I, C:\Users\Tanuj\apktool\framework\1.apk, -S, c

:\apkt\phon\res, -M, c:\apkt\phon\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\Tanuj\AppData\Local\Temp\APKTOOL4820468380985856256.tmp, -I, C:\Users\Tanuj

\apktool\framework\1.apk, -S, c:\apkt\phon\res, -M, c:\apkt\phon\AndroidManifest

.xml]

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

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav

a:191)

... 6 more

I searched all places.. They say, use the latest aapt.exe...

I am using the latest one and apktool 1.4.3..

Still cant recompile...

Pleasssssse help... I'm working on this since two days now...