[Galaxy S 4 Mini Q&A, Help & Troubleshooting] citymen34:
Editing systemUI but compile error. I delete in res/layout system_bar_settings_view.xml and system_bar_notification_panel_title.xml but still error. please help me. I want to add battery icon. (I make apktool if framework-res.apk and apktool if twframework-res.apk and apktool if systemUI.apk)

java version "1.7.0_25"

Java(TM) SE Runtime Environment (build 1.7.0_25-b16)

Java HotSpot(TM) Client VM (build 23.25-b01, mixed mode, sharing)

W: Could not find sources

I: Checking whether resources has changed...

I: Building resources...

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:14: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:19: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_notification_panel_title.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:7: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:10: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:12: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:13: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:15: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:16: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:21: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:22: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:26: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:27: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:28: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:29: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:32: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:33: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:34: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:35: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').

C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res\layout\system_bar_settings_view.xml:37: error: Error: No resource found that matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').

aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'abbrev_wday_month_day_year' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'am' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_long_friday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_long_monday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_long_saturday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_long_sunday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_long_thursday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_long_tuesday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_long_wednesday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_medium_friday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_medium_monday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_medium_saturday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_medium_sunday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_medium_thursday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_medium_tuesday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_medium_wednesday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_short_friday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_short_monday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_short_saturday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_short_sunday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_short_thursday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_short_tuesday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_short_wednesday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_shortest_friday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_shortest_monday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_shortest_saturday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_shortest_sunday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_shortest_thursday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_shortest_tuesday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'day_of_week_shortest_wednesday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'full_wday_month_day_no_year' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_april' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_august' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_december' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_february' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_january' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_july' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_june' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_march' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_may' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_november' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_october' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_september' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_standalone_april' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_standalone_august' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_standalone_december' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_standalone_february' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_standalone_january' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_standalone_july' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_standalone_june' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_standalone_march' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_standalone_may' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_standalone_november' has no default translation Exception in thread "main" in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_standalone_october' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_long_standalone_september' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_medium_april' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_medium_august' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_medium_december' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_medium_february' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_medium_january' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_medium_july' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_medium_june' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_medium_march' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_medium_may' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_medium_november' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_medium_october' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_medium_september' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_shortest_april' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_shortest_august' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_shortest_december' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_shortest_february' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_shortest_january' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_shortest_july' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_shortest_june' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_shortest_march' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_shortest_may' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_shortest_november' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_shortest_october' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'month_shortest_september' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'pm' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'quickpanel_day_month_year' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: zh_HK

aapt: warning: string 'quickpanel_month_day_year' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: zh_HK

aapt: warning: string 'quickpanel_year_month_day' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: zh_HK

aapt: warning: string 'today' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'tomorrow' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'twelve_hour_time_format' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

aapt: warning: string 'yesterday' has no default translation in C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res; found: mk

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:\TEMP\APKTOOL8317365219674947038.tmp, -0, arsc, -I, C:\Users\Userr\apktool\framework\1.apk, -S, C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res, -M, C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\AndroidManifest.xml]

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

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

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

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

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

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:\TEMP\APKTOOL8317365219674947038.tmp, -0, arsc, -I, C:\Users\Userr\apktool\framework\1.apk, -S, C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res, -M, C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\AndroidManifest.xml]

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

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

... 5 more

Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 17, --target-sdk-version, 17, -F, C:\TEMP\APKTOOL8317365219674947038.tmp, -0, arsc, -I, C:\Users\Userr\apktool\framework\1.apk, -S, C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\res, -M, C:\Downloads\ApkManager\other\..\projects\SystemUI.apk\AndroidManifest.xml]

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

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

... 6 more