Post Reply

[Q][Theming] Can't compile/recompile SystemUI.apk

7th November 2011, 07:26 PM   |  #1  
OP Senior Member
Thanks Meter: 148
 
212 posts
Join Date:Joined: Sep 2011
More
Hey friends,

I've got a little question about decompiling/recompiling apks.

I wanted to create/port a theme. (First only for myself and if it looks good I will ask the author for permission to publish it.) Replacing the .png's is no problem for me. For the moment I'm using NEON GT RED For XXKPH as base to have all the mod I like included when I am running around with a half themed phone and not to make it too complicated for the first time.

For the theme I need to change some colors because as a example notifications have a white background and white text on it. I googled much and tried on an on, but now I am stuck. Before trying to change anything I don't succeed in simply decompiling and recompiling an apk to be able to edit the xml's.

How do I do that, or is the way I want to port the theme completely wrong?

Here's the command promt output:
Code:
C:\android\apktool>apktool if C:/android/apktool/framework-res.apk
I: Framework installed to: D:\Noguai\apktool\framework\1.apk

C:\android\apktool>apktool d SystemUI.apk decompliled_systemui
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Loading resource table from file: D:\Noguai\apktool\framework\1.apk
I: Loaded.
I: Decoding file-resources...
W: Cant find 9patch chunk in file: "drawable-hdpi/quickpanel_title_background.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/statusbar_background.9.png". Renaming it to *.png.
W: Cant find 9patch chunk in file: "drawable-hdpi/title_bar_portrait.9.png". Renaming it to *.png.
I: Decoding values*/* XMLs...
I: Done.
I: Copying assets and libs...

C:\android\apktool>apktool b decompliled_systemui TestSystemUI.apk
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\apktool\decompliled_systemui\res\drawable-hdpi\quickpanel_title_background.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\apktool\decompliled_systemui\res\drawable-hdpi\statusbar_background.9.png
libpng error: Read Error
ERROR: Failure processing PNG image C:\android\apktool\decompliled_systemui\res\drawable-hdpi\title_bar_portrait.9.png
C:\android\apktool\decompliled_systemui\res\values\public.xml:9: error: Public symbol drawable/battery_low_battery declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:3: error: Public symbol drawable/btn_default_small declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:10: error: Public symbol drawable/btn_default_small_normal declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:11: error: Public symbol drawable/btn_default_small_normal_disable declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:12: error: Public symbol drawable/btn_default_small_normal_disable_focused declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:13: error: Public symbol drawable/btn_default_small_pressed declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:14: error: Public symbol drawable/btn_default_small_selected declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:15: error: Public symbol drawable/divider_horizontal_dark_opaque declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:16: error: Public symbol drawable/divider_horizontal_light_opaque declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:17: error: Public symbol drawable/ic_launcher_settings declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:18: error: Public symbol drawable/ic_notification_overlay declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:7: error: Public entry identifier 0x7f020091 entry index is larger than available symbols (index 145, total symbo
ls 3).
C:\android\apktool\decompliled_systemui\res\values\public.xml:7: error: Public symbol drawable/notification_header_text_color declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:8: error: Public entry identifier 0x7f020092 entry index is larger than available symbols (index 146, total symbo
ls 3).
C:\android\apktool\decompliled_systemui\res\values\public.xml:8: error: Public symbol drawable/notification_number_text_color declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:152: error: Public symbol drawable/quick_panel_icon_flight_mode_off declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:153: error: Public symbol drawable/quick_panel_icon_flight_mode_on declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:19: error: Public symbol drawable/quickpanel_icon_bluetooth_ing declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:20: error: Public symbol drawable/quickpanel_icon_bluetooth_off declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:21: error: Public symbol drawable/quickpanel_icon_bluetooth_on declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:22: error: Public symbol drawable/quickpanel_icon_gps_off declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:23: error: Public symbol drawable/quickpanel_icon_gps_on declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:24: error: Public symbol drawable/quickpanel_icon_ing declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:150: error: Public symbol drawable/quickpanel_icon_mobile_data_off declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:151: error: Public symbol drawable/quickpanel_icon_mobile_data_on declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:25: error: Public symbol drawable/quickpanel_icon_off declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:26: error: Public symbol drawable/quickpanel_icon_on declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:27: error: Public symbol drawable/quickpanel_icon_rotation_off declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:28: error: Public symbol drawable/quickpanel_icon_rotation_on declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:29: error: Public symbol drawable/quickpanel_icon_silent_off declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:30: error: Public symbol drawable/quickpanel_icon_sound_on_on declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:31: error: Public symbol drawable/quickpanel_icon_sound_vibration_on declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:32: error: Public symbol drawable/quickpanel_icon_vibration_off declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:33: error: Public symbol drawable/quickpanel_icon_wifi_ing declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:34: error: Public symbol drawable/quickpanel_icon_wifi_off declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:35: error: Public symbol drawable/quickpanel_icon_wifi_on declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:36: error: Public symbol drawable/quickpanel_quick_settings_background declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:37: error: Public symbol drawable/quickpanel_title_background declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:38: error: Public symbol drawable/shade_bg declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:6: error: Public entry identifier 0x7f020090 entry index is larger than available symbols (index 144, total symbo
ls 3).
C:\android\apktool\decompliled_systemui\res\values\public.xml:6: error: Public symbol drawable/shade_bgcolor declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:39: error: Public symbol drawable/shade_handlebar declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:40: error: Public symbol drawable/shade_header_background declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:41: error: Public symbol drawable/stat_notify_alarm declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:42: error: Public symbol drawable/stat_notify_more declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:43: error: Public symbol drawable/stat_sys_battery_full declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:44: error: Public symbol drawable/stat_sys_data_bluetooth declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:45: error: Public symbol drawable/stat_sys_data_bluetooth_connected declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:46: error: Public symbol drawable/stat_sys_data_connected_1x declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:47: error: Public symbol drawable/stat_sys_data_connected_3g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:48: error: Public symbol drawable/stat_sys_data_connected_4g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:49: error: Public symbol drawable/stat_sys_data_connected_e declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:50: error: Public symbol drawable/stat_sys_data_connected_g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:51: error: Public symbol drawable/stat_sys_data_connected_h declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:52: error: Public symbol drawable/stat_sys_data_fully_connected_1x declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:53: error: Public symbol drawable/stat_sys_data_fully_connected_3g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:54: error: Public symbol drawable/stat_sys_data_fully_connected_4g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:55: error: Public symbol drawable/stat_sys_data_fully_connected_e declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:56: error: Public symbol drawable/stat_sys_data_fully_connected_g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:57: error: Public symbol drawable/stat_sys_data_fully_connected_h declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:58: error: Public symbol drawable/stat_sys_data_fully_in_1x declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:59: error: Public symbol drawable/stat_sys_data_fully_in_3g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:60: error: Public symbol drawable/stat_sys_data_fully_in_4g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:61: error: Public symbol drawable/stat_sys_data_fully_in_e declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:62: error: Public symbol drawable/stat_sys_data_fully_in_g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:63: error: Public symbol drawable/stat_sys_data_fully_in_h declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:64: error: Public symbol drawable/stat_sys_data_fully_inandout_1x declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:65: error: Public symbol drawable/stat_sys_data_fully_inandout_3g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:66: error: Public symbol drawable/stat_sys_data_fully_inandout_4g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:67: error: Public symbol drawable/stat_sys_data_fully_inandout_e declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:68: error: Public symbol drawable/stat_sys_data_fully_inandout_g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:69: error: Public symbol drawable/stat_sys_data_fully_inandout_h declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:70: error: Public symbol drawable/stat_sys_data_fully_out_1x declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:71: error: Public symbol drawable/stat_sys_data_fully_out_3g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:72: error: Public symbol drawable/stat_sys_data_fully_out_4g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:73: error: Public symbol drawable/stat_sys_data_fully_out_e declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:74: error: Public symbol drawable/stat_sys_data_fully_out_g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:75: error: Public symbol drawable/stat_sys_data_fully_out_h declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:76: error: Public symbol drawable/stat_sys_data_in_1x declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:77: error: Public symbol drawable/stat_sys_data_in_3g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:78: error: Public symbol drawable/stat_sys_data_in_4g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:79: error: Public symbol drawable/stat_sys_data_in_e declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:80: error: Public symbol drawable/stat_sys_data_in_g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:81: error: Public symbol drawable/stat_sys_data_in_h declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:82: error: Public symbol drawable/stat_sys_data_inadnout_e declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:83: error: Public symbol drawable/stat_sys_data_inandout_1x declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:84: error: Public symbol drawable/stat_sys_data_inandout_3g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:85: error: Public symbol drawable/stat_sys_data_inandout_4g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:86: error: Public symbol drawable/stat_sys_data_inandout_e declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:87: error: Public symbol drawable/stat_sys_data_inandout_g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:88: error: Public symbol drawable/stat_sys_data_inandout_h declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:89: error: Public symbol drawable/stat_sys_data_out_1x declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:90: error: Public symbol drawable/stat_sys_data_out_3g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:91: error: Public symbol drawable/stat_sys_data_out_4g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:92: error: Public symbol drawable/stat_sys_data_out_e declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:93: error: Public symbol drawable/stat_sys_data_out_g declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:94: error: Public symbol drawable/stat_sys_data_out_h declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:95: error: Public symbol drawable/stat_sys_data_wimax_signal_0 declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:96: error: Public symbol drawable/stat_sys_data_wimax_signal_0_fully declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:97: error: Public symbol drawable/stat_sys_data_wimax_signal_1 declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:98: error: Public symbol drawable/stat_sys_data_wimax_signal_1_fully declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:99: error: Public symbol drawable/stat_sys_data_wimax_signal_2 declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:100: error: Public symbol drawable/stat_sys_data_wimax_signal_2_fully declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:101: error: Public symbol drawable/stat_sys_data_wimax_signal_3 declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:102: error: Public symbol drawable/stat_sys_data_wimax_signal_3_fully declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:103: error: Public symbol drawable/stat_sys_data_wimax_signal_disconnected declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:104: error: Public symbol drawable/stat_sys_data_wimax_signal_idle declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:105: error: Public symbol drawable/stat_sys_gps_acquiring declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:4: error: Public symbol drawable/stat_sys_gps_acquiring_anim declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:106: error: Public symbol drawable/stat_sys_no_sim declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:107: error: Public symbol drawable/stat_sys_r_signal_0 declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:108: error: Public symbol drawable/stat_sys_r_signal_0_fully declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:109: error: Public symbol drawable/stat_sys_r_signal_1 declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:110: error: Public symbol drawable/stat_sys_r_signal_1_fully declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:111: error: Public symbol drawable/stat_sys_r_signal_2 declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:112: error: Public symbol drawable/stat_sys_r_signal_2_fully declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:113: error: Public symbol drawable/stat_sys_r_signal_3 declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:114: error: Public symbol drawable/stat_sys_r_signal_3_fully declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:115: error: Public symbol drawable/stat_sys_r_signal_4 declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:116: error: Public symbol drawable/stat_sys_r_signal_4_fully declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:117: error: Public symbol drawable/stat_sys_ringer_silent declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:118: error: Public symbol drawable/stat_sys_ringer_vibrate declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:119: error: Public symbol drawable/stat_sys_roaming_cdma_0 declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:5: error: Public symbol drawable/stat_sys_roaming_cdma_flash declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:120: error: Public symbol drawable/stat_sys_roaming_cdma_flash_anim0 declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:121: error: Public symbol drawable/stat_sys_roaming_cdma_flash_anim1 declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:122: error: Public symbol drawable/stat_sys_signal_0 declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:123: error: Public symbol drawable/stat_sys_signal_0_fully declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:124: error: Public symbol drawable/stat_sys_signal_1 declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:125: error: Public symbol drawable/stat_sys_signal_1_fully declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:126: error: Public symbol drawable/stat_sys_signal_2 declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:127: error: Public symbol drawable/stat_sys_signal_2_fully declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:128: error: Public symbol drawable/stat_sys_signal_3 declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:129: error: Public symbol drawable/stat_sys_signal_3_fully declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:130: error: Public symbol drawable/stat_sys_signal_4 declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:131: error: Public symbol drawable/stat_sys_signal_4_fully declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:132: error: Public symbol drawable/stat_sys_signal_flightmode declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:133: error: Public symbol drawable/stat_sys_signal_null declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:134: error: Public symbol drawable/stat_sys_tty_mode declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:135: error: Public symbol drawable/stat_sys_wifi_signal_0 declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:136: error: Public symbol drawable/stat_sys_wifi_signal_1 declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:137: error: Public symbol drawable/stat_sys_wifi_signal_1_fully declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:138: error: Public symbol drawable/stat_sys_wifi_signal_2 declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:139: error: Public symbol drawable/stat_sys_wifi_signal_2_fully declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:140: error: Public symbol drawable/stat_sys_wifi_signal_3 declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:141: error: Public symbol drawable/stat_sys_wifi_signal_3_fully declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:142: error: Public symbol drawable/stat_sys_wifi_signal_4 declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:143: error: Public symbol drawable/stat_sys_wifi_signal_4_fully declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:144: error: Public symbol drawable/status_bar_background declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:145: error: Public symbol drawable/status_bar_call_ongoing_background declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:146: error: Public symbol drawable/status_bar_close_on declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:147: error: Public symbol drawable/statusbar_background declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:148: error: Public symbol drawable/title_bar_portrait declared here is not defined.
C:\android\apktool\decompliled_systemui\res\values\public.xml:149: error: Public symbol drawable/title_bar_shadow declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Noguai\AppData\Local\Temp\APKTOOL98964238
6804227928.tmp, -I, D:\Noguai\apktool\framework\1.apk, -S, C:\android\apktool\decompliled_systemui\res, -M, C:\android\apktool\decompliled_systemui\AndroidManifest.xml]
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:193)
        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:301)
        at brut.androlib.Androlib.buildResources(Androlib.java:248)
        at brut.androlib.Androlib.build(Androlib.java:171)
        at brut.androlib.Androlib.build(Androlib.java:154)
        at brut.apktool.Main.cmdBuild(Main.java:174)
        at brut.apktool.Main.main(Main.java:59)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\Users\Noguai\AppData\Local\Temp\APKTOOL989642386804227928.tmp, -I, D:\Noguai\apktool\framework\1
.apk, -S, C:\android\apktool\decompliled_systemui\res, -M, C:\android\apktool\decompliled_systemui\AndroidManifest.xml]
        at brut.util.OS.exec(OS.java:83)
        at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:191)
        ... 6 more

C:\android\apktool>
Thanks in advance for any sort of help
Taraen
8th November 2011, 04:40 AM   |  #2  
Senior Member
Flag Margao
Thanks Meter: 102
 
350 posts
Join Date:Joined: May 2011
More
quickpanel_title_background.9.png
statusbar_background.9.png
title_bar_portrait.9.png

problem with these 9.pngs
they trouble me also.
try without them.
have a look here http://forum.xda-developers.com/showthread.php?t=580351
The Following User Says Thank You to pabreu For This Useful Post: [ View ]
8th November 2011, 07:04 AM   |  #3  
nitinvaid's Avatar
Recognized Themer
Flag New Delhi
Thanks Meter: 4,239
 
4,515 posts
Join Date:Joined: Mar 2011
Donate to Me
More
it is because you have to use .9.png
doy you know how to make it
The Following User Says Thank You to nitinvaid For This Useful Post: [ View ]
8th November 2011, 12:57 PM   |  #4  
bala242's Avatar
Senior Member
panruti,tamilnadu
Thanks Meter: 73
 
224 posts
Join Date:Joined: Mar 2011
Hey dude if u want decompile systemui in apk manager use option decompile with depenndres use framework-res.apk it work

Sent from my GT-I9003 using xda premium
The Following User Says Thank You to bala242 For This Useful Post: [ View ]
8th November 2011, 04:16 PM   |  #5  
OP Senior Member
Thanks Meter: 148
 
212 posts
Join Date:Joined: Sep 2011
More
Thumbs up
Arg, first think about the error that get's displayed first. The nine-patch png's were the only problem, after that everything got solved itself. I was so worried about that much "... declared here is not defined" messages, so that didn't came up to the idea of first fixing the .9.png's. Thank you very much!
Last edited by Taraen; 8th November 2011 at 04:19 PM.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes