[Sony Xperia S, Acro S, Ion] Josiah_07:
I've got errors when recompiling framework-res.apk even I didn't change things inside.. But for the other apk like Settings.apk I don't have errors. Any fix for this problem?

-----------------------------------------------------------------------------------------------------------------

Microsoft Windows XP [Version 5.1.2600]

(C) Copyright 1985-2001 Microsoft Corp.

C:\APK-TOOL>apktool if framework-res.apk

I: Framework installed to: C:\Documents and Settings\Admin\apktool\framework\1.a

pk

C:\APK-TOOL>apktool d framework-res.apk

I: Using Apktool 2.0.0-Beta7 on framework-res.apk

I: Loading resource table...

I: Decoding AndroidManifest.xml with resources...

I: Regular manifest package...

I: Decoding file-resources...

I: Decoding values */* XMLs...

I: Loading resource table...

I: Copying assets and libs...

I: Copying unknown files/dir...

I: Copying original files...

C:\APK-TOOL>apktool b framework-res

I: Using Apktool 2.0.0-Beta7 on framework-res

W: Could not find sources

I: Checking whether resources has changed...

I: Building resources...

C:\APK-TOOL\framework-res\res\layout\keyguard_screen_password_landscape.xml:21:

error: Error: No resource found that matches the given name (at 'layout' with va

lue '@layout/keyguard_transport_control').

C:\APK-TOOL\framework-res\res\layout\keyguard_screen_password_portrait.xml:21: e

rror: Error: No resource found that matches the given name (at 'layout' with val

ue '@layout/keyguard_transport_control').

C:\APK-TOOL\framework-res\res\layout\keyguard_screen_tab_unlock.xml:22: error: E

rror: No resource found that matches the given name (at 'layout' with value '@la

yout/keyguard_transport_control').

C:\APK-TOOL\framework-res\res\layout\keyguard_screen_tab_unlock_land.xml:16: err

or: Error: No resource found that matches the given name (at 'layout' with value

'@layout/keyguard_transport_control').

C:\APK-TOOL\framework-res\res\layout\keyguard_screen_unlock_landscape.xml:18: er

ror: Error: No resource found that matches the given name (at 'layout' with valu

e '@layout/keyguard_transport_control').

C:\APK-TOOL\framework-res\res\layout\keyguard_screen_unlock_portrait.xml:20: err

or: Error: No resource found that matches the given name (at 'layout' with value

'@layout/keyguard_transport_control').

Exception in thread "main" aapt: warning: string 'headset_pin_recognition' has n

o default translation in C:\APK-TOOL\framework-res\res; found: zh_CN

brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.Br

utException: could not exec command: [C:\DOCUME~1\Admin\LOCALS~1\Temp\brut_util_

Jar_2781381152959416085.tmp, p, --forced-package-id, 1, --min-sdk-version, 17, -

-target-sdk-version, 17, --version-code, 17, --version-name, 4.2.2-21, -F, C:\DO

CUME~1\Admin\LOCALS~1\Temp\APKTOOL1981869342936816062.tmp, -x, -0, arsc, -S, C:\

APK-TOOL\framework-res\res, -M, C:\APK-TOOL\framework-res\AndroidManifest.xml]

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:434)

at brut.androlib.Androlib.buildResources(Androlib.java:362)

at brut.androlib.Androlib.build(Androlib.java:285)

at brut.androlib.Androlib.build(Androlib.java:258)

at brut.apktool.Main.cmdBuild(Main.java:233)

at brut.apktool.Main.main(Main.java:88)

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not

exec command: [C:\DOCUME~1\Admin\LOCALS~1\Temp\brut_util_Jar_278138115295941608

5.tmp, p, --forced-package-id, 1, --min-sdk-version, 17, --target-sdk-version, 1

7, --version-code, 17, --version-name, 4.2.2-21, -F, C:\DOCUME~1\Admin\LOCALS~1\

Temp\APKTOOL1981869342936816062.tmp, -x, -0, arsc, -S, C:\APK-TOOL\framework-res

\res, -M, C:\APK-TOOL\framework-res\AndroidManifest.xml]

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

a:481)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:415)

... 5 more

Caused by: brut.common.BrutException: could not exec command: [C:\DOCUME~1\Admin

\LOCALS~1\Temp\brut_util_Jar_2781381152959416085.tmp, p, --forced-package-id, 1,

--min-sdk-version, 17, --target-sdk-version, 17, --version-code, 17, --version-

name, 4.2.2-21, -F, C:\DOCUME~1\Admin\LOCALS~1\Temp\APKTOOL1981869342936816062.t

mp, -x, -0, arsc, -S, C:\APK-TOOL\framework-res\res, -M, C:\APK-TOOL\framework-r

es\AndroidManifest.xml]

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

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

a:475)

... 6 more

C:\APK-TOOL>