Java 7.0.45-b18
apktool 1.5.2
Code:
C:\android\Apk_Manager_jb\other>apktool d SystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\dnaeva\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\android\Apk_Manager_jb\other>apktool b SystemUI
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_notification_panel_title.xml:14: error: Error: No resourc
e found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_notification_panel_title.xml:19: error: Error: No resourc
e found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_notification_panel_title.xml:21: error: Error: No resourc
e found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\android\Apk_Manager_jb\other\SystemUI\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:\android\Apk_Manager_jb\other\SystemUI\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:\android\Apk_Manager_jb\other\SystemUI\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:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:10: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:11: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:12: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:13: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:15: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:16: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:17: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:18: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:21: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:22: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:23: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:26: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:27: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:28: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:29: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:32: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:33: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:34: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:35: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:37: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException:
could not exec command: [aapt, p, --min-sdk-version, 18, --target-sdk-version, 18, -F, C:\Users\dnaeva\AppData\Local\Tem
p\APKTOOL50782875655730866.tmp, -0, arsc, -I, C:\Users\dnaeva\apktool\framework\1.apk, -S, C:\android\Apk_Manager_jb\oth
er\SystemUI\res, -M, C:\android\Apk_Manager_jb\other\SystemUI\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-versi
on, 18, --target-sdk-version, 18, -F, C:\Users\dnaeva\AppData\Local\Temp\APKTOOL50782875655730866.tmp, -0, arsc, -I, C:\
Users\dnaeva\apktool\framework\1.apk, -S, C:\android\Apk_Manager_jb\other\SystemUI\res, -M, C:\android\Apk_Manager_jb\ot
her\SystemUI\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, 18, --target-sdk-version, 18,
-F, C:\Users\dnaeva\AppData\Local\Temp\APKTOOL50782875655730866.tmp, -0, arsc, -I, C:\Users\dnaeva\apktool\framework\1.
apk, -S, C:\android\Apk_Manager_jb\other\SystemUI\res, -M, C:\android\Apk_Manager_jb\other\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
C:\android\Apk_Manager_jb\other>
dnaeva said:
apktool 1.5.2
Click to expand...
Click to collapse
Try Apktool v2.0 Beta 7
laura almeida said:
Try Apktool v2.0 Beta 7
Click to expand...
Click to collapse
so....
Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\dnaeva>cd C:\android\Apk_Manager_jb\other
C:\android\Apk_Manager_jb\other>apktool d SystemUI.apk
I: Using Apktool 2.0.0-Beta7 on SystemUI.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\dnaeva\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Loading resource table...
I: Baksmaling...
testCleaning up unclosed ZipFile for archive C:\Users\dnaeva\apktool\framework\1.apk
I: Copying assets and libs...
I: Copying unknown files/dir...
I: Copying original files...
C:\android\Apk_Manager_jb\other>apktool b SystemUI
I: Using Apktool 2.0.0-Beta7 on SystemUI
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_notification_panel_title.xml:14: error: Error: No resourc
e found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_notification_panel_title.xml:19: error: Error: No resourc
e found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_notification_panel_title.xml:21: error: Error: No resourc
e found that matches the given name (at 'style' with value '@style/SystemBarNotificationText').
C:\android\Apk_Manager_jb\other\SystemUI\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:\android\Apk_Manager_jb\other\SystemUI\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:\android\Apk_Manager_jb\other\SystemUI\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:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:10: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:11: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:12: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:13: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:15: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:16: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:17: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:18: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:21: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:22: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:23: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:26: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:27: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:28: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:29: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:32: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:33: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsRow').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:34: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsIcon').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:35: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsContents').
C:\android\Apk_Manager_jb\other\SystemUI\res\layout\system_bar_settings_view.xml:37: error: Error: No resource found tha
t matches the given name (at 'style' with value '@style/SystemBarPanelSettingsPanelSeparator').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException:
could not exec command: [C:\Users\dnaeva\AppData\Local\Temp\brut_util_Jar_3743708590306886363.tmp, p, --forced-package-i
d, 127, --min-sdk-version, 18, --target-sdk-version, 18, --version-code, 18, --version-name, 4.3-I9300XXUGMJ9, -F, C:\Us
ers\dnaeva\AppData\Local\Temp\APKTOOL3914133782757409911.tmp, -0, arsc, -I, C:\Users\dnaeva\apktool\framework\1.apk, -S,
C:\android\Apk_Manager_jb\other\SystemUI\res, -M, C:\android\Apk_Manager_jb\other\SystemUI\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:\Users\dnaeva\AppData\
Local\Temp\brut_util_Jar_3743708590306886363.tmp, p, --forced-package-id, 127, --min-sdk-version, 18, --target-sdk-versi
on, 18, --version-code, 18, --version-name, 4.3-I9300XXUGMJ9, -F, C:\Users\dnaeva\AppData\Local\Temp\APKTOOL391413378275
7409911.tmp, -0, arsc, -I, C:\Users\dnaeva\apktool\framework\1.apk, -S, C:\android\Apk_Manager_jb\other\SystemUI\res, -M
, C:\android\Apk_Manager_jb\other\SystemUI\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:481)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:415)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\dnaeva\AppData\Local\Temp\brut_util_Jar_37437085
90306886363.tmp, p, --forced-package-id, 127, --min-sdk-version, 18, --target-sdk-version, 18, --version-code, 18, --ver
sion-name, 4.3-I9300XXUGMJ9, -F, C:\Users\dnaeva\AppData\Local\Temp\APKTOOL3914133782757409911.tmp, -0, arsc, -I, C:\Use
rs\dnaeva\apktool\framework\1.apk, -S, C:\android\Apk_Manager_jb\other\SystemUI\res, -M, C:\android\Apk_Manager_jb\other
\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:475)
... 6 more
C:\android\Apk_Manager_jb\other>
Otz
Code:
\SystemUI\res\layout\system_bar_notification_panel_title.xml
@style/SystemBarNotificationText -> [email protected]/SystemBarNotificationText
\SystemUI\res\layout\system_bar_settings_view.xml
@style/SystemBarPanelSettingsRow -> [email protected]/SystemBarPanelSettingsRow
@style/SystemBarPanelSettingsIcon -> [email protected]/SystemBarPanelSettingsIcon
@style/SystemBarPanelSettingsContents -> [email protected]/SystemBarPanelSettingsContents
@style/SystemBarPanelSettingsPanelSeparator -> [email protected]/SystemBarPanelSettingsPanelSeparator
Oh....
dnaeva said:
SystemUI\res\layout\system_bar_notification_panel_title.xml
Oh....
Click to expand...
Click to collapse
See this post
SystemUI compiling error
Related
I'm trying to re-compile apks from XXLSJ without change anything and I'm getting errors
I got the latest apktool also downloaded "APK-Multi-Tool" and that doesn't help
ClockPackage:
Code:
I: Building resources...
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp\alarm_alert.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-hdpi\alarm_alert.xml:25: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land\alarm_alert.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land-hdpi\alarm_alert.xml:25: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp\alarm_alert_snooze.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-hdpi\alarm_alert_snooze.xml:25: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land\alarm_alert_snooze.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land-hdpi\alarm_alert_snooze.xml:25: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp\alarm_briefing_alert.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp\alarm_briefing_alert.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-hdpi\alarm_briefing_alert.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-hdpi\alarm_briefing_alert.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land\alarm_briefing_alert.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land\alarm_briefing_alert.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land-hdpi\alarm_briefing_alert.xml:17: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land-hdpi\alarm_briefing_alert.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout\alarm_detail_actionbar.xml:4: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextAppearance.ActionMenuText').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout\alarm_detail_actionbar.xml:6: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextAppearance.ActionMenuText').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout\alarm_detail_actionbar.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextAppearance.ActionMenuText').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout\alarm_detail_actionbar.xml:13: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextAppearance.ActionMenuText').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout\alarm_detail_actionbar.xml:18: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextAppearance.ActionMenuText').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout\alarm_detail_actionbar.xml:20: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextAppearance.ActionMenuText').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout\alarm_detail_actionbar.xml:26: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextAppearance.ActionMenuTitle').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp\alarm_smart_alert.xml:25: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-hdpi\alarm_smart_alert.xml:25: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land\alarm_smart_alert.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land-hdpi\alarm_smart_alert.xml:25: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout\alarm_smart_alert_snooze.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp\alarm_smart_alert_snooze.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-hdpi\alarm_smart_alert_snooze.xml:25: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land\alarm_smart_alert_snooze.xml:23: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout-sw320dp-land-hdpi\alarm_smart_alert_snooze.xml:25: error: Error: No resource found that matches the given name (at 'style' with value '@style/TextStyle_AlertComment').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout\mw_alarm_detail.xml:61: error: Error: No resource found that matches the given name (at 'style' with value '@style/AlarmSpinner').
D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res\layout\mw_alarm_detail.xml:119: error: Error: No resource found that matches the given name (at 'style' with value '@style/AlarmSpinner').
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 14, --target-sdk-version, 16, -F, C:\Users\Madmon\AppData\Local\Temp\APKTOOL4577064381781115024.tmp, -I, C:\Users\Madmon\apktool\framework\1.apk, -I, C:\Users\Madmon\apktool\framework\2.apk, -S, D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res, -M, D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:255)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:324)
at brut.androlib.Androlib.buildResources(Androlib.java:269)
at brut.androlib.Androlib.build(Androlib.java:192)
at brut.androlib.Androlib.build(Androlib.java:174)
at brut.apktool.Main.cmdBuild(Main.java:188)
at brut.apktool.Main.main(Main.java:70)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 14, --target-sdk-version, 16, -F, C:\Users\Madmon\AppData\Local\Temp\APKTOOL4577064381781115024.tmp, -I, C:\Users\Madmon\apktool\framework\1.apk, -I, C:\Users\Madmon\apktool\framework\2.apk, -S, D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\res, -M, D:\APK-Multi-Tool\other\..\projects\ClockPackage.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:253)
... 6 more
MusicPlayer:
Code:
I: Building resources...
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values-es\strings.xml:111: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values-es\strings.xml:111: error: Unexpected end tag string
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values-pt\strings.xml:111: error: Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute?
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values-pt\strings.xml:111: error: Unexpected end tag string
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1339: error: Public symbol string/alphabet_focused_indexlist declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1337: error: Public symbol string/alphabet_indexlist declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1332: error: Public symbol string/amg_lisence_line1 declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1333: error: Public symbol string/amg_lisence_line2 declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1321: error: Public symbol string/background_playing declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1327: error: Public symbol string/bass_enhancement declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1340: error: Public symbol string/chorous declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1323: error: Public symbol string/custom declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1335: error: Public symbol string/do_recognition declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1325: error: Public symbol string/dynamic declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1320: error: Public symbol string/effect declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1341: error: Public symbol string/eq_8 declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1342: error: Public symbol string/list_song_deleted declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1322: error: Public symbol string/live declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1326: error: Public symbol string/music_clarity declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1334: error: Public symbol string/request_config declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1336: error: Public symbol string/request_results declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1338: error: Public symbol string/twstr_indexlistYears declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1330: error: Public symbol string/type_1 declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1331: error: Public symbol string/type_2 declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1329: error: Public symbol string/visual_help_text declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1328: error: Public symbol string/visualization declared here is not defined.
D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res\values\public.xml:1324: error: Public symbol string/wide declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Madmon\AppData\Local\Temp\APKTOOL777043533016566331.tmp, -I, C:\Users\Madmon\apktool\framework\1.apk, -I, C:\Users\Madmon\apktool\framework\2.apk, -S, D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res, -M, D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\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\Madmon\AppData\Local\Temp\APKTOOL777043533016566331.tmp, -I, C:\Users\Madmon\apktool\framework\1.apk, -I, C:\Users\Madmon\apktool\framework\2.apk, -S, D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\res, -M, D:\APK-Multi-Tool\other\..\tmp\MusicPlayer.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:249)
... 6 more
what is wrong?
Push framework-res and twframework before decompiling.
You may need to manually fix some prurals (replace "$d of $d" with "$1d of $2d").
Sent from my GT-I9300 using Tapatalk 2
I already did what you told me and that didn't help
in SecPhone, MusicPlayer & PhoneSky its something with the values that I can fix..
but with ClockPackage that something with the layouts and I don't know how to fix it...
tripc1 said:
I already did what you told me and that didn't help
in SecPhone, MusicPlayer & PhoneSky its something with the values that I can fix..
but with ClockPackage that something with the layouts and I don't know how to fix it...
Click to expand...
Click to collapse
You can create styles voids to correct the problem.
ClockPackage.apk\res\values\styles.xml
Code:
<style name="TextStyle_AlertComment" />
<style name="TextAppearance.ActionMenuText" />
<style name="TextAppearance.ActionMenuTitle" />
<style name="AlarmSpinner" />
i try decompile settings.apk (cm9) and recompile it without changing any thing and get this error: ị just updated apktool to lastest: 2.00 beta 9, latest java 7 u 55, re-install java.. but not resolve problem. please help me! thanks
Code:
--------------------------------------------------------------------------
|Fri 05/23/2014 -- 15:50:46.82|
--------------------------------------------------------------------------
java version "1.7.0_55"
Java(TM) SE Runtime Environment (build 1.7.0_55-b13)
Java HotSpot(TM) Client VM (build 24.55-b03, mixed mode, sharing)
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\HA TRUNG KIEN\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\res\layout\lockscreen_targets.xml:7: error: No resource identifier found for attribute 'rightChevronDrawable' in package 'android'
D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\res\layout\lockscreen_targets.xml:7: error: No resource identifier found for attribute 'hitRadius' in package 'android'
D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\res\layout\lockscreen_targets.xml:7: error: No resource identifier found for attribute 'verticalOffset' in package 'android'
D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\res\layout\lockscreen_targets.xml:7: error: No resource identifier found for attribute 'horizontalOffset' in package 'android'
D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\res\layout-land\lockscreen_targets.xml:8: error: No resource identifier found for attribute 'rightChevronDrawable' in package 'android'
D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\res\layout-land\lockscreen_targets.xml:8: error: No resource identifier found for attribute 'hitRadius' in package 'android'
D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\res\layout-land\lockscreen_targets.xml:8: error: No resource identifier found for attribute 'verticalOffset' in package 'android'
D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\res\layout-land\lockscreen_targets.xml:8: error: No resource identifier found for attribute 'horizontalOffset' in package 'android'
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 15, --target-sdk-version, 15, -F, C:\Users\HATRUN~1\AppData\Local\Temp\APKTOOL8248359115018077797.tmp, -I, C:\Users\HA TRUNG KIEN\apktool\framework\1.apk, -S, D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\res, -M, D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.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, 15, --target-sdk-version, 15, -F, C:\Users\HATRUN~1\AppData\Local\Temp\APKTOOL8248359115018077797.tmp, -I, C:\Users\HA TRUNG KIEN\apktool\framework\1.apk, -S, D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\res, -M, D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.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, 15, --target-sdk-version, 15, -F, C:\Users\HATRUN~1\AppData\Local\Temp\APKTOOL8248359115018077797.tmp, -I, C:\Users\HA TRUNG KIEN\apktool\framework\1.apk, -S, D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\res, -M, D:\BACKUP DESKTOP\Android Apps\viet hoa tool\APK-Multi-Toolv1.0.11\APK-Multi-Tool\other\..\projects\Settings.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Hey guys
Since I'm a noob in editing apk's (everything has a start ) ,I see myself forced to ask you to help me with my problem.
I'm trying to make a IOS7 "like" status bar,and so far I only did the icon part (the easy one ),but I want to do more.
I wanna center the clock (and make it a little smaller) and move the signal and the wifi icons to the left (just like IOS7)
My problem is 1.I don't know how and 2.I tried to decompile the systemui.apk (after installing framework-res.apk and twframework-res.apk - cauze I'm on samsung stock rom) ,everything's ok but if I wanna compile it - Even if I don't touch nothing ,just decompile and compile - I get this error
PHP:
C:\apktool>apktool b systemui systemui1.apk
I: Using Apktool 2.0.0-Beta9 on systemui
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\apktool\systemui\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:\apktool\systemui\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:\apktool\systemui\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:\apktool\systemui\res\layout\system_bar_settings_view.xml:5: error: Error: No
resource found that matches the given name (at 'style' with value '@style/System
BarPanelSettingsRow').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:6: error: Error: No
resource found that matches the given name (at 'style' with value '@style/System
BarPanelSettingsIcon').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:7: error: Error: No
resource found that matches the given name (at 'style' with value '@style/System
BarPanelSettingsContents').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:10: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:11: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsRow').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:12: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsIcon').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:13: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsContents').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:15: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:16: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsRow').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:17: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsIcon').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:18: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsContents').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:21: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:22: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsRow').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:23: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsIcon').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:26: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:27: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsRow').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:28: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsIcon').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:29: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsContents').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:32: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:33: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsRow').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:34: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsIcon').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:35: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsContents').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:37: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [C:\Users\Thor\A
ppData\Local\Temp\brut_util_Jar_5043757027982392701.tmp, p, --forced-package-id,
127, --min-sdk-version, 18, --target-sdk-version, 18, --version-code, 18, --ver
sion-name, 4.3-I9300XXUGNA5, -F, C:\Users\Thor\AppData\Local\Temp\APKTOOL3701335
733549224557.tmp, -0, arsc, -I, C:\Users\Thor\apktool\framework\1.apk, -S, C:\ap
ktool\systemui\res, -M, C:\apktool\systemui\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:435)
at brut.androlib.Androlib.buildResources(Androlib.java:363)
at brut.androlib.Androlib.build(Androlib.java:286)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [C:\Users\Thor\AppData\Local\Temp\brut_util_Jar_50437570279823927
01.tmp, p, --forced-package-id, 127, --min-sdk-version, 18, --target-sdk-version
, 18, --version-code, 18, --version-name, 4.3-I9300XXUGNA5, -F, C:\Users\Thor\Ap
pData\Local\Temp\APKTOOL3701335733549224557.tmp, -0, arsc, -I, C:\Users\Thor\apk
tool\framework\1.apk, -S, C:\apktool\systemui\res, -M, C:\apktool\systemui\Andro
idManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:470)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:416)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Thor\App
Data\Local\Temp\brut_util_Jar_5043757027982392701.tmp, p, --forced-package-id, 1
27, --min-sdk-version, 18, --target-sdk-version, 18, --version-code, 18, --versi
on-name, 4.3-I9300XXUGNA5, -F, C:\Users\Thor\AppData\Local\Temp\APKTOOL370133573
3549224557.tmp, -0, arsc, -I, C:\Users\Thor\apktool\framework\1.apk, -S, C:\apkt
ool\systemui\res, -M, C:\apktool\systemui\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:464)
... 6 more
C:\apktool>
So,can any1 please help me with my request ? or at least someone to tell me how to not get that stupid error xD ?
In attach is my SystemUI.apk (it's the stock one from Galaxy S3 version I9300XXUGNA8 ) and the moddified one (only some png's changed,nothing more)
Thank you in advance
Up
Help plz.
Hey guys
Since I'm a noob in editing apk's (everything has a start ) ,I see myself forced to ask you to help me with my problem.
I'm trying to make a IOS7 "like" status bar,and so far I only did the icon part (the easy one ),but I want to do more.
I wanna center the clock (and make it a little smaller) and move the signal and the wifi icons to the left (just like IOS7)
My problem is 1.I don't know how and 2.I tried to decompile the systemui.apk (after installing framework-res.apk and twframework-res.apk - cauze I'm on samsung stock rom) ,everything's ok but if I wanna compile it - Even if I don't touch nothing ,just decompile and compile - I get this error
PHP:
C:\apktool>apktool b systemui systemui1.apk
I: Using Apktool 2.0.0-Beta9 on systemui
W: Could not find sources
I: Checking whether resources has changed...
I: Building resources...
C:\apktool\systemui\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:\apktool\systemui\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:\apktool\systemui\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:\apktool\systemui\res\layout\system_bar_settings_view.xml:5: error: Error: No
resource found that matches the given name (at 'style' with value '@style/System
BarPanelSettingsRow').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:6: error: Error: No
resource found that matches the given name (at 'style' with value '@style/System
BarPanelSettingsIcon').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:7: error: Error: No
resource found that matches the given name (at 'style' with value '@style/System
BarPanelSettingsContents').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:10: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:11: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsRow').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:12: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsIcon').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:13: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsContents').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:15: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:16: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsRow').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:17: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsIcon').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:18: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsContents').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:21: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:22: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsRow').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:23: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsIcon').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:26: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:27: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsRow').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:28: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsIcon').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:29: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsContents').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:32: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:33: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsRow').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:34: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsIcon').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:35: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsContents').
C:\apktool\systemui\res\layout\system_bar_settings_view.xml:37: error: Error: No
resource found that matches the given name (at 'style' with value '@style/Syste
mBarPanelSettingsPanelSeparator').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [C:\Users\Thor\A
ppData\Local\Temp\brut_util_Jar_5043757027982392701.tmp, p, --forced-package-id,
127, --min-sdk-version, 18, --target-sdk-version, 18, --version-code, 18, --ver
sion-name, 4.3-I9300XXUGNA5, -F, C:\Users\Thor\AppData\Local\Temp\APKTOOL3701335
733549224557.tmp, -0, arsc, -I, C:\Users\Thor\apktool\framework\1.apk, -S, C:\ap
ktool\systemui\res, -M, C:\apktool\systemui\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:435)
at brut.androlib.Androlib.buildResources(Androlib.java:363)
at brut.androlib.Androlib.build(Androlib.java:286)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [C:\Users\Thor\AppData\Local\Temp\brut_util_Jar_50437570279823927
01.tmp, p, --forced-package-id, 127, --min-sdk-version, 18, --target-sdk-version
, 18, --version-code, 18, --version-name, 4.3-I9300XXUGNA5, -F, C:\Users\Thor\Ap
pData\Local\Temp\APKTOOL3701335733549224557.tmp, -0, arsc, -I, C:\Users\Thor\apk
tool\framework\1.apk, -S, C:\apktool\systemui\res, -M, C:\apktool\systemui\Andro
idManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:470)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:416)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Thor\App
Data\Local\Temp\brut_util_Jar_5043757027982392701.tmp, p, --forced-package-id, 1
27, --min-sdk-version, 18, --target-sdk-version, 18, --version-code, 18, --versi
on-name, 4.3-I9300XXUGNA5, -F, C:\Users\Thor\AppData\Local\Temp\APKTOOL370133573
3549224557.tmp, -0, arsc, -I, C:\Users\Thor\apktool\framework\1.apk, -S, C:\apkt
ool\systemui\res, -M, C:\apktool\systemui\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:464)
... 6 more
C:\apktool>
So,can any1 please help me with my request ? or at least someone to tell me how to not get that stupid error xD ?
In attach is my SystemUI.apk (it's the stock one from Galaxy S3 version I9300XXUGNA8 ) and the moddified one (only some png's changed,nothing more)
Thank you in advance
Up
Help plz.
Hey guys, i been trying to replace battery icons in my LGSystemUI.apk by decompiling/recompiling with apktool. my first step was to use apktool to install 2 framework apks (framework-res.apk & lge-res.apk), then i decompiled LGSystemUI.apk with no errors.
i replaced all battery/battery anim images with my own, but when i try to recompile i get masses of errors, these are the ones i can see, but there is obviously more above on cmd window:
Code:
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_att.xml:2
9: error: Error: No resource found that matches the given name (at 'drawable' wi
th value '@drawable/stat_sys_battery_90').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_att.xml:3
0: error: Error: No resource found that matches the given name (at 'drawable' wi
th value '@drawable/stat_sys_battery_95').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_att.xml:3
1: error: Error: No resource found that matches the given name (at 'drawable' wi
th value '@drawable/stat_sys_battery_100').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:4: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_00').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:8: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_00').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:9: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_01').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:10: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_02').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:11: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_03').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:12: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_04').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:13: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_05').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:14: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_06').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:15: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_07').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:21: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_01').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:22: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_02').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:23: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_03').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:24: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_04').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:25: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_05').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:26: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_06').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:27: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_07').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:33: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_02').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:34: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_03').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:35: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_04').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:36: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_05').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:37: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_06').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:38: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_07').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:44: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_03').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:45: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_04').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:46: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_05').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:47: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_06').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:48: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_07').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:54: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_04').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:55: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_05').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:56: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_06').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:57: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_07').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:63: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_05').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:64: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_06').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:65: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_07').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:71: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_06').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:72: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_07').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_battery_charge.xm
l:75: error: Error: No resource found that matches the given name (at 'drawable'
with value '@drawable/stat_sys_battery_charge_anim_07').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_gps_acquiring_ani
m.xml:4: error: Error: No resource found that matches the given name (at 'drawab
le' with value '@drawable/stat_sys_gps_acquiring').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_roaming_cdma_flas
h.xml:4: error: Error: No resource found that matches the given name (at 'drawab
le' with value '@drawable/stat_sys_roaming_cdma_flash_anim0').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_roaming_cdma_flas
h.xml:5: error: Error: No resource found that matches the given name (at 'drawab
le' with value '@drawable/stat_sys_roaming_cdma_flash_anim1').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_roaming_custom_cd
ma_flash.xml:4: error: Error: No resource found that matches the given name (at
'drawable' with value '@drawable/stat_sys_roaming_cdma_flash_anim0').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\stat_sys_roaming_custom_cd
ma_flash.xml:5: error: Error: No resource found that matches the given name (at
'drawable' with value '@drawable/stat_notify_roming_custom').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\status_bar_bg.xml:2: error
: Error: No resource found that matches the given name (at 'src' with value '@dr
awable/status_bar_bg_tile').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\status_bar_close.xml:4: er
ror: Error: No resource found that matches the given name (at 'drawable' with va
lue '@drawable/status_bar_close_on').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\status_bar_close.xml:5: er
ror: Error: No resource found that matches the given name (at 'drawable' with va
lue '@drawable/status_bar_close_off').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\status_bar_expand.xml:4: e
rror: Error: No resource found that matches the given name (at 'drawable' with v
alue '@drawable/status_bar_expand_pressed').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\status_bar_expand.xml:5: e
rror: Error: No resource found that matches the given name (at 'drawable' with v
alue '@drawable/status_bar_expand_default').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\status_bar_item_background
.xml:4: error: Error: No resource found that matches the given name (at 'drawabl
e' with value '@drawable/btn_wifi_info_p').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\status_bar_item_background
.xml:5: error: Error: No resource found that matches the given name (at 'drawabl
e' with value '@drawable/btn_wifi_info_n').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\status_bar_progress_style.
xml:4: error: Error: No resource found that matches the given name (at 'drawable
' with value '@drawable/scrubber_track_holo_dark').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\status_bar_progress_style.
xml:6: error: Error: No resource found that matches the given name (at 'drawable
' with value '@drawable/scrubber_primary_holo').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\drawable\status_bar_recents_backgro
und.xml:4: error: Error: No resource found that matches the given name (at 'angl
e' with value '@integer/status_bar_recents_bg_gradient_degrees').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\menu\notification_popup_menu.xml:4:
error: Error: No resource found that matches the given name (at 'id' with value
'@id/notification_inspect_item').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\menu\notification_popup_menu.xml:4:
error: Error: No resource found that matches the given name (at 'title' with va
lue '@string/status_bar_notification_inspect_item_title').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\menu\quicksettings_change_order_opt
ion.xml:4: error: Error: No resource found that matches the given name (at 'icon
' with value '@drawable/ic_menu_widget_title_section').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\menu\quicksettings_change_order_opt
ion.xml:4: error: Error: No resource found that matches the given name (at 'id'
with value '@id/edit').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\menu\quicksettings_change_order_opt
ion.xml:4: error: Error: No resource found that matches the given name (at 'titl
e' with value '@string/sp_quicksettings_edit_NORMAL').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\menu\recent_popup_menu.xml:4: error
: Error: No resource found that matches the given name (at 'id' with value '@id/
recent_remove_item').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\menu\recent_popup_menu.xml:4: error
: Error: No resource found that matches the given name (at 'title' with value '@
string/status_bar_recent_remove_item_title').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\menu\recent_popup_menu.xml:5: error
: Error: No resource found that matches the given name (at 'id' with value '@id/
recent_inspect_item').
C:\Users\Liam\Desktop\apktool\LGSystemUI\res\menu\recent_popup_menu.xml:5: error
: Error: No resource found that matches the given name (at 'title' with value '@
string/status_bar_recent_inspect_item_title').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [C:\Users\Liam\A
ppData\Local\Temp\brut_util_Jar_7018388568488106208.tmp, p, --forced-package-id,
2, --min-sdk-version, 16, --target-sdk-version, 16, --rename-manifest-package,
com.android.systemui, --version-code, 16, --version-name, 4.1.2-E43010d-EUR-XX.1
390532737, -F, C:\Users\Liam\AppData\Local\Temp\APKTOOL8611486483648680799.tmp,
-0, arsc, -I, C:\Users\Liam\apktool\framework\1.apk, -I, C:\Users\Liam\apktool\f
ramework\2.apk, -S, C:\Users\Liam\Desktop\apktool\LGSystemUI\res, -M, C:\Users\L
iam\Desktop\apktool\LGSystemUI\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:442)
at brut.androlib.Androlib.buildResources(Androlib.java:379)
at brut.androlib.Androlib.build(Androlib.java:282)
at brut.androlib.Androlib.build(Androlib.java:255)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [C:\Users\Liam\AppData\Local\Temp\brut_util_Jar_70183885684881062
08.tmp, p, --forced-package-id, 2, --min-sdk-version, 16, --target-sdk-version,
16, --rename-manifest-package, com.android.systemui, --version-code, 16, --versi
on-name, 4.1.2-E43010d-EUR-XX.1390532737, -F, C:\Users\Liam\AppData\Local\Temp\A
PKTOOL8611486483648680799.tmp, -0, arsc, -I, C:\Users\Liam\apktool\framework\1.a
pk, -I, C:\Users\Liam\apktool\framework\2.apk, -S, C:\Users\Liam\Desktop\apktool
\LGSystemUI\res, -M, C:\Users\Liam\Desktop\apktool\LGSystemUI\AndroidManifest.xm
l]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:504)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:428)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Liam\App
Data\Local\Temp\brut_util_Jar_7018388568488106208.tmp, p, --forced-package-id, 2
, --min-sdk-version, 16, --target-sdk-version, 16, --rename-manifest-package, co
m.android.systemui, --version-code, 16, --version-name, 4.1.2-E43010d-EUR-XX.139
0532737, -F, C:\Users\Liam\AppData\Local\Temp\APKTOOL8611486483648680799.tmp, -0
, arsc, -I, C:\Users\Liam\apktool\framework\1.apk, -I, C:\Users\Liam\apktool\fra
mework\2.apk, -S, C:\Users\Liam\Desktop\apktool\LGSystemUI\res, -M, C:\Users\Lia
m\Desktop\apktool\LGSystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:498)
... 6 more
i been at this for days, even googling! can anyone please shed some light on my little problem?
Solved.......ish
i managed to get apktool to compile my LGSystemUI by opening up the ORIGINAL apk with winrar and copied the original 'resources.arsc' and added it to the decompiled apk directory.
once compiled i added the original 'META' directory to the newly created apk.
havent tested it on my phone yet, but im about to
EDIT: just out of the kitchen, phone booted up but things like boot animation, status bar, notification panel, wallpapers have gone........ so not solved
liamallan said:
i managed to get apktool to compile my LGSystemUI by opening up the ORIGINAL apk with winrar and copied the original 'resources.arsc' and added it to the decompiled apk directory.
once compiled i added the original 'META' directory to the newly created apk.
havent tested it on my phone yet, but im about to
EDIT: just out of the kitchen, phone booted up but things like boot animation, status bar, notification panel, wallpapers have gone........ so not solved
Click to expand...
Click to collapse
If you decompile LGSyytemUI, you must replace only existing png's with same size (eg.48x38) png's (not other format like gif, bmp etc.). Or you place files in wrong folder (eg. hdpi instead xhdpi). There is lot of solutions to destroy LGSystemUI...
And you must use right version of apktool for that job.
Where didyou get it/link to procedure, is it JB or KK UI, phone model, etc...
Please more details.
I recommend you to replace first one or two, not whole set of icons, recompile, and try.
maxx_hr said:
If you decompile LGSyytemUI, you must replace only existing png's with same size (eg.48x38) png's (not other format like gif, bmp etc.). Or you place files in wrong folder (eg. hdpi instead xhdpi). There is lot of solutions to destroy LGSystemUI...
And you must use right version of apktool for that job.
Where didyou get it/link to procedure, is it JB or KK UI, phone model, etc...
Please more details.
I recommend you to replace first one or two, not whole set of icons, recompile, and try.
Click to expand...
Click to collapse
im using apktool_2.0.0rc4 and my phone is a LG Optimus L3 II (E430) with 4.1.2.
i got my status bar back, but i have reverted to using winrar and drag n dropping new images to apk. i have added the images to drawable-hdpi and drawable-mdpi but once booted, stock battery icons still remain. does that mean i got wrong drawable folder?
EDIT: i finally got it to work with winrar, i copied images to wrong folder, only thing is, i added them to all folders which had battery icons, so i dont really know my target folder i need for future edits, but that can be found by myself. thanx for your help maxx
liamallan said:
im using apktool_2.0.0rc4 and my phone is a LG Optimus L3 II (E430) with 4.1.2.
i got my status bar back, but i have reverted to using winrar and drag n dropping new images to apk. i have added the images to drawable-hdpi and drawable-mdpi but once booted, stock battery icons still remain. does that mean i got wrong drawable folder?
Click to expand...
Click to collapse
Idk for E430, I have P710, but when I started to make changes in UI, I'm first write number on each stock png (I want to change), then recompile, and in that way I can see which one is in tact... You probably change wrong set of icons. I think, that for your device you must look at mdpi folder. But same icons is also in framework-res, and lge-res, who knows LG choices...?
I suggest you to do that job with apktool, not only winrar.