[Android Software Development] ypypy:
SGS3 Sprint

I tried many times with all possible versions of apktool.jar and aapt.exe. I have reinstalled Java to the last version jdk-7u9-windows-x64. I can't find the right way to recompile that apk.

Please help me!

d:\Temp\l7102>java -jar apktool.jar d SecPhone.apk
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Loading resource table from file: C:\Users\America\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...

d:\Temp\l7102>java -jar apktool.jar b SecPhone
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
d:\Temp\l7102\SecPhone\res\values-es\strings.xml:195: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
d:\Temp\l7102\SecPhone\res\values-es\strings.xml:196: error: Unexpected end tag string
d:\Temp\l7102\SecPhone\res\values-es-rUS\strings.xml:200: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
d:\Temp\l7102\SecPhone\res\values-es-rUS\strings.xml:201: error: Unexpected end tag string
d:\Temp\l7102\SecPhone\res\values\public.xml:3766: error: Public symbol string/callFailed_timeout_408_487 declared here is not defined.
d:\Temp\l7102\SecPhone\res\values\public.xml:3760: error: Public entry identifier 0x7f0e06e9 entry index is larger than available symbols (index 1769, total symbols 1768).
d:\Temp\l7102\SecPhone\res\values\public.xml:3760: error: Public symbol string/country_setting_1 declared here is not defined.
d:\Temp\l7102\SecPhone\res\values\public.xml:3761: error: Public entry identifier 0x7f0e06ea entry index is larger than available symbols (index 1770, total symbols 1768).
d:\Temp\l7102\SecPhone\res\values\public.xml:3761: error: Public symbol string/country_setting_2 declared here is not defined.
d:\Temp\l7102\SecPhone\res\values\public.xml:3762: error: Public entry identifier 0x7f0e06eb entry index is larger than available symbols (index 1771, total symbols 1768).
d:\Temp\l7102\SecPhone\res\values\public.xml:3762: error: Public symbol string/country_setting_3 declared here is not defined.
d:\Temp\l7102\SecPhone\res\values\public.xml:3763: error: Public symbol string/reject_cause_location_reg_fail declared here is not defined.
d:\Temp\l7102\SecPhone\res\values\public.xml:3764: error: Public symbol string/reject_cause_location_registering declared here is not defined.
d:\Temp\l7102\SecPhone\res\values\public.xml:3765: error: Public symbol string/reject_cause_skt_registering declared here is not defined.
d:\Temp\l7102\SecPhone\res\values\public.xml:3759: error: Public entry identifier 0x7f0e06e8 entry index is larger than available symbols (index 1768, total symbols 1768).
d:\Temp\l7102\SecPhone\res\values\public.xml:3759: error: Public symbol string/target_country_setting declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\America\AppData\Local\Temp\APKTOOL1249692024373386269.tmp, -I, C:\Users\America\apktool\framework\1.apk, -
S, d:\Temp\l7102\SecPhone\res, -M, d:\Temp\l7102\SecPhone\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:251)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:325)
at brut.androlib.Androlib.buildResources(Androlib.java:270)
at brut.androlib.Androlib.build(Androlib.java:193)
at brut.androlib.Androlib.build(Androlib.java:175)
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\America\AppData\Local\Temp\APKTOOL1249692024373386269.tmp, -I, C:\Users\America\apktool\framework\1.apk, -S, d:\Temp\l7102\SecPhone\res, -M, d:\Temp\l7102\SecPhone\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:249)
... 6 more