[Q] apktool Recompile Problem (LGSystemUI.apk) topic
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:
i been at this for days, even googling! can anyone please shed some light on my little problem?
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.apk, -I, C:\Users\Liam\apktool\f
ramework.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.a
pk, -I, C:\Users\Liam\apktool\framework.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.apk, -I, C:\Users\Liam\apktool\fra
mework.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
xda-developers
- [Q] 32GB Internal Storage Problem topic
- [Q] Playstore problem topic
- Grand 2 Camera Problem topic
- [Q] Major problem with original Flip cover on Lolipop topic
- [Q] heating and battery drain problem topic
- Keyboard problem after 5.0.2 update topic
- [Q] apktool Recompile Problem (LGSystemUI.apk) topic
- Is root required to roll back to KitKat? topic
- [REQ] Multi DPI Stock Camera topic
- May be this is it for Xperia J topic
- [Q] No IMEI and baseband anymore. So back to stock rom for repair! topic
- [Q] New to phone - on 24A rooted - where to go from here? topic
- Htc desire 816 official lollipop update video review topic
- [Q] Galaxy S6 Edge T-Mobile Unlock by SIM code topic
- How to roll back to KK topic
- What is this in Greenify settings topic
- [Q] How to update? topic
- [Q] Problem getting into recovery (I9305) topic
- Rom Baseband Problem topic
- [Q] [q] sm-g900f gps problem topic
0 commentaires:
Enregistrer un commentaire