[Android Software Development] yakie996:
hello,

If i decompile the framework-res from omega 7.0 and change tw_progress_primary_holo_dark.9.png and i want to compile it again I get this log

java version "1.7.0_21"

Java(TM) SE Runtime Environment (build 1.7.0_21-b11)

Java HotSpot(TM) 64-Bit Server VM (build 23.21-b01, mixed mode)

A subdirectory or file modified-system-apk-files-here already exists.

W: Could not find sources

I: Checking whether resources has changed...

I: Building resources...

C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\res\layout\keyguard_screen_password_landscape.xml:22: error: Error: No resource found that matches the given name (at 'layout' with value '@layout/keyguard_transport_control').

C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\res\layout\keyguard_screen_password_portrait.xml:22: error: Error: No resource found that matches the given name (at 'layout' with value '@layout/keyguard_transport_control').

C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\res\layout\keyguard_screen_tab_unlock.xml:23: error: Error: No resource found that matches the given name (at 'layout' with value '@layout/keyguard_transport_control').

C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\res\layout\keyguard_screen_tab_unlock_land.xml:17: error: Error: No resource found that matches the given name (at 'layout' with value '@layout/keyguard_transport_control').

C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\res\layout\keyguard_screen_unlock_landscape.xml:18: error: Error: No resource found that matches the given name (at 'layout' with value '@layout/keyguard_transport_control').

C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\res\layout\keyguard_screen_unlock_portrait.xml:23: error: Error: No resource found that matches the given name (at 'layout' with value '@layout/keyguard_transport_control').

aapt: warning: string 'default_audio_route_name_hdmi' has no default translation in C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\res; found: en_GB es

aapt: warning: string 'default_permission_group' has no default translation in C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\res; found: en_GB es

aapt: warning: string 'perms_hide' has no default translation in C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\res; found: en_GB es

aapt: warning: string 'perms_show_all' has no default translation in C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\res; found: en_GB es

aapt: warning: string 'ss_clear_default_hint_msg' has no default translation in C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\res; found: zh_CN zh_HK

aapt: warning: string 'ss_clear_default_hint_msg_all' has no default translation in C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\res; found: zh_CN zh_HK

aapt: warning: string 'ss_clear_default_hint_msg_applicationmanager' has no default translation in C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\res; found: zh_CN zh_HK

aapt: warning: string 'ss_clear_default_hint_msg_more' has no default translation in C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\res; found: zh_CN zh_HK

aapt: warning: string 'ss_clear_default_hint_msg_settings' has no default translation in C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\res; found: zh_CN zh_HK

aapt: warning: string 'tommorrow' has no default translation in C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\res; found: bn_IN

aapt: warning: string 'webkit_module' has no default translation in C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\res; found: de es_ES fr it pl ru

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\YARNIP~1\AppData\Local\Temp\APKTOOL4342493925077675594.tmp, -x, -0, arsc, -S, C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\res, -M, C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\AndroidManifest.xml]

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

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

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

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

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

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

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\YARNIP~1\AppData\Local\Temp\APKTOOL4342493925077675594.tmp, -x, -0, arsc, -S, C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\res, -M, C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:406)

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

... 5 more

Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\Users\YARNIP~1\AppData\Local\Temp\APKTOOL4342493925077675594.tmp, -x, -0, arsc, -S, C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\res, -M, C:\Android\APK-Multi-Tool-Stable-RELEASE\projects\framework-res.apk\AndroidManifest.xml]

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

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:404)

... 6 more

also if i decompile it and compile it directly after it it also don't work..

---------- Post added at 11:06 PM ---------- Previous post was at 11:04 PM ----------

I got this one too

I do this but i don't know or its working or not.. I just type 'apktool if framework-res.apk' I seriously have no idea if it's works