[Android Themes] jjbro007:
compiling error while porting CM11 theme to HK themer

I get this error whenever i complile any theme. i guess its a basic error or something.i searched everywhere i can. but didnot get any idea. pls help.

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\xml\redirections.xml:4: error: Error: Resource package cannot be an empty string (at 'resource' with value '@xml/android').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\xml\redirections.xml:5: error: Error: Resource package cannot be an empty string (at 'resource' with value '@xml/com_android_calculator2').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\xml\redirections.xml:6: error: Error: Resource package cannot be an empty string (at 'resource' with value '@xml/com_android_chrome').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\xml\redirections.xml:7: error: Error: Resource package cannot be an empty string (at 'resource' with value '@xml/com_android_contacts').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\xml\redirections.xml:8: error: Error: Resource package cannot be an empty string (at 'resource' with value '@xml/com_android_deskclock').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\xml\redirections.xml:9: error: Error: Resource package cannot be an empty string (at 'resource' with value '@xml/com_android_dialer').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\xml\redirections.xml:10: error: Error: Resource package cannot be an empty string (at 'resource' with value '@xml/com_android_inputmethod_latin').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\xml\redirections.xml:11: error: Error: Resource package cannot be an empty string (at 'resource' with value '@xml/com_android_keyguard').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\xml\redirections.xml:12: error: Error: Resource package cannot be an empty string (at 'resource' with value '@xml/com_android_mms').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\xml\redirections.xml:13: error: Error: Resource package cannot be an empty string (at 'resource' with value '@xml/com_android_phone').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\xml\redirections.xml:14: error: Error: Resource package cannot be an empty string (at 'resource' with value '@xml/com_android_settings').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\xml\redirections.xml:15: error: Error: Resource package cannot be an empty string (at 'resource' with value '@xml/com_android_systemui').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\xml\redirections.xml:16: error: Error: Resource package cannot be an empty string (at 'resource' with value '@xml/com_cyanogenmod_updater').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\xml\redirections.xml:17: error: Error: Resource package cannot be an empty string (at 'resource' with value '@xml/com_google_android_gm').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\xml\redirections.xml:18: error: Error: Resource package cannot be an empty string (at 'resource' with value '@xml/com_google_android_inputmethod_latin').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\xml\redirections.xml:19: error: Error: Resource package cannot be an empty string (at 'resource' with value '@xml/com_google_android_music').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\xml\redirections.xml:20: error: Error: Resource package cannot be an empty string (at 'resource' with value '@xml/com_spotify_music').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\xml\redirections.xml:21: error: Error: Resource package cannot be an empty string (at 'resource' with value '@xml/com_whatsapp').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\xml\redirections.xml:22: error: Error: Resource package cannot be an empty string (at 'resource' with value '@xml/net_cactii_flash2').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_btn_default_pressed_holo_dark.xml:4: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_button_pressed_dark_1').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_btn_default_pressed_holo_dark.xml:5: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_button_pressed_dark_2').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_btn_default_pressed_holo_dark.xml:6: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_button_pressed_dark_3').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_btn_default_pressed_holo_dark.xml:7: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_button_pressed_dark_4').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_btn_default_pressed_holo_dark.xml:8: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_button_pressed_dark_5').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_btn_default_pressed_holo_dark.xml:9: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_button_pressed_dark_6').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_btn_default_pressed_holo_dark.xml:10: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_button_pressed_dark_7').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_btn_default_pressed_holo_dark.xml:11: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_button_pressed_dark_8').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_btn_default_pressed_holo_dark.xml:12: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_button_pressed_dark_9').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_btn_default_pressed_holo_light.xml:4: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_button_pressed_light_1').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_btn_default_pressed_holo_light.xml:5: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_button_pressed_light_2').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_btn_default_pressed_holo_light.xml:6: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_button_pressed_light_3').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_btn_default_pressed_holo_light.xml:7: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_button_pressed_light_4').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_btn_default_pressed_holo_light.xml:8: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_button_pressed_light_5').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_btn_default_pressed_holo_light.xml:9: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_button_pressed_light_6').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_btn_default_pressed_holo_light.xml:10: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_button_pressed_light_7').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_btn_default_pressed_holo_light.xml:11: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_button_pressed_light_8').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_btn_default_pressed_holo_light.xml:12: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_button_pressed_light_9').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_list_selector_background_transition_holo_dark.xml:4: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_list_pressed_dark_1').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_list_selector_background_transition_holo_dark.xml:5: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_list_pressed_dark_2').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_list_selector_background_transition_holo_dark.xml:6: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_list_pressed_dark_3').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_list_selector_background_transition_holo_dark.xml:7: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_list_pressed_dark_4').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_list_selector_background_transition_holo_dark.xml:8: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_list_pressed_dark_5').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_list_selector_background_transition_holo_dark.xml:9: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_list_pressed_dark_6').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_list_selector_background_transition_holo_dark.xml:10: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_list_pressed_dark_7').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_list_selector_background_transition_holo_dark.xml:11: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_list_pressed_dark_8').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_list_selector_background_transition_holo_light.xml:4: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_list_pressed_light_1').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_list_selector_background_transition_holo_light.xml:5: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_list_pressed_light_2').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_list_selector_background_transition_holo_light.xml:6: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_list_pressed_light_3').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_list_selector_background_transition_holo_light.xml:7: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_list_pressed_light_4').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_list_selector_background_transition_holo_light.xml:8: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_list_pressed_light_5').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_list_selector_background_transition_holo_light.xml:9: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_list_pressed_light_6').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_list_selector_background_transition_holo_light.xml:10: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_list_pressed_light_7').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\android_list_selector_background_transition_holo_light.xml:11: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/android_list_pressed_light_8').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_deskclock_footer_bg.xml:4: error: Error: Resource package cannot be an empty string (at 'color' with value '@color/com_android_deskclock_transparent').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_deskclock_header_bg.xml:4: error: Error: Resource package cannot be an empty string (at 'color' with value '@color/com_android_deskclock_header_bg').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_deskclock_header_bg_bar.xml:2: error: Error: Resource package cannot be an empty string (at 'background' with value '@color/com_android_deskclock_transparent').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_deskclock_item_background.xml:4: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@color/com_android_deskclock_transparent_white').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_deskclock_item_background.xml:5: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@color/com_android_deskclock_transparent_white').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_deskclock_item_background.xml:6: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@color/com_android_deskclock_transparent_white').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_deskclock_item_background.xml:7: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@color/com_android_deskclock_transparent').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_dialer_action_bar_tab.xml:4: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/com_android_dialer_tab_unselected').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_dialer_btn_call.xml:5: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/com_android_dialer_btn_call_normal').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_dialer_btn_call.xml:6: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/com_android_dialer_btn_call_normal').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_dialer_btn_call.xml:7: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/com_android_dialer_btn_call_pressed').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_dialer_btn_call.xml:8: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/com_android_dialer_btn_call_pressed').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_dialer_call_history_actionbar_background.xml:6: error: Error: Resource package cannot be an empty string (at 'color' with value '@color/com_android_dialer_actionbar_underline').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_dialer_call_history_actionbar_background.xml:11: error: Error: Resource package cannot be an empty string (at 'color' with value '@color/com_android_dialer_actionbar_background_color').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_dialer_tab_unselected.xml:6: error: Error: Resource package cannot be an empty string (at 'color' with value '@color/com_android_dialer_tab_underline_color').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_mms_list_item_font_primary.xml:5: error: Error: Resource package cannot be an empty string (at 'color' with value '@color/com_android_mms_theme_text_primary_dark').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_mms_list_item_font_primary.xml:6: error: Error: Resource package cannot be an empty string (at 'color' with value '@color/com_android_mms_theme_text_primary_dark').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_mms_list_item_font_primary.xml:7: error: Error: Resource package cannot be an empty string (at 'color' with value '@color/com_android_mms_theme_text_primary_dark').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_mms_list_item_font_secondary.xml:5: error: Error: Resource package cannot be an empty string (at 'color' with value '@color/com_android_mms_theme_text_primary_dark').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_mms_list_item_font_secondary.xml:6: error: Error: Resource package cannot be an empty string (at 'color' with value '@color/com_android_mms_theme_text_primary_dark').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_mms_list_item_font_secondary.xml:7: error: Error: Resource package cannot be an empty string (at 'color' with value '@color/com_android_mms_theme_text_primary_dark').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_systemui_ic_notify_button_bg.xml:18: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/com_android_systemui_list_selector_pressed_holo_dark').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_systemui_ic_notify_button_bg.xml:19: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/com_android_systemui_notification_expand_background').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_systemui_notification_row_legacy_bg.xml:19: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/com_android_systemui_notification_header_background').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_systemui_notification_row_legacy_bg.xml:20: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/com_android_systemui_notification_header_bg').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_systemui_qs_tile_background.xml:18: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/com_android_systemui_qs_background').

C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res\drawable\com_android_systemui_qs_tile_background.xml:19: error: Error: Resource package cannot be an empty string (at 'drawable' with value '@drawable/com_android_systemui_qs_first_background').

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 15, -F, C:\Users\JERIN\AppData\Local\Temp\APKTOOL3814207873313599704.tmp, -0, arsc, -I, C:\Users\JERIN\apktool\framework\1.apk, -S, C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res, -M, C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.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, -F, C:\Users\JERIN\AppData\Local\Temp\APKTOOL3814207873313599704.tmp, -0, arsc, -I, C:\Users\JERIN\apktool\framework\1.apk, -S, C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res, -M, C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.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, -F, C:\Users\JERIN\AppData\Local\Temp\APKTOOL3814207873313599704.tmp, -0, arsc, -I, C:\Users\JERIN\apktool\framework\1.apk, -S, C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\res, -M, C:\Users\JERIN\Desktop\CMX\XTheme\XThemeBase.apk\AndroidManifest.xml]

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

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

... 6 more