[G1 Android Development] tristan202:
When trying to rebuild framework-res.apk, I get this whole heap of errors:

D:\Android\apktool\out\res\values\public.xml:3048: error: Public symbol drawable
/stat_sys_ra_signal_0_cdma declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3049: error: Public symbol drawable
/stat_sys_ra_signal_1_cdma declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3050: error: Public symbol drawable
/stat_sys_ra_signal_2_cdma declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3051: error: Public symbol drawable
/stat_sys_ra_signal_3_cdma declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3052: error: Public symbol drawable
/stat_sys_ra_signal_4_cdma declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3053: error: Public symbol drawable
/stat_sys_ringer_silent declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3054: error: Public symbol drawable
/stat_sys_ringer_vibrate declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3055: error: Public symbol drawable
/stat_sys_roaming_cdma_0 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2453: error: Public symbol drawable
/stat_sys_roaming_cdma_flash declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3056: error: Public symbol drawable
/stat_sys_roaming_cdma_flash_anim0 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3057: error: Public symbol drawable
/stat_sys_roaming_cdma_flash_anim1 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3058: error: Public symbol drawable
/stat_sys_signal_0 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3059: error: Public symbol drawable
/stat_sys_signal_0_cdma declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3060: error: Public symbol drawable
/stat_sys_signal_1 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3061: error: Public symbol drawable
/stat_sys_signal_1_cdma declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3062: error: Public symbol drawable
/stat_sys_signal_2 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3063: error: Public symbol drawable
/stat_sys_signal_2_cdma declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3064: error: Public symbol drawable
/stat_sys_signal_3 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3065: error: Public symbol drawable
/stat_sys_signal_3_cdma declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3066: error: Public symbol drawable
/stat_sys_signal_4 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3067: error: Public symbol drawable
/stat_sys_signal_4_cdma declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3068: error: Public symbol drawable
/stat_sys_signal_evdo_0 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3069: error: Public symbol drawable
/stat_sys_signal_evdo_1 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3070: error: Public symbol drawable
/stat_sys_signal_evdo_2 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3071: error: Public symbol drawable
/stat_sys_signal_evdo_3 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3072: error: Public symbol drawable
/stat_sys_signal_evdo_4 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3073: error: Public symbol drawable
/stat_sys_signal_flightmode declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3074: error: Public symbol drawable
/stat_sys_signal_null declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2579: error: Public symbol drawable
/stat_sys_speakerphone declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3075: error: Public symbol drawable
/stat_sys_tty_mode declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2357: error: Public symbol drawable
/stat_sys_upload declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3076: error: Public symbol drawable
/stat_sys_upload_anim0 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3077: error: Public symbol drawable
/stat_sys_upload_anim1 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3078: error: Public symbol drawable
/stat_sys_upload_anim2 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3079: error: Public symbol drawable
/stat_sys_upload_anim3 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3080: error: Public symbol drawable
/stat_sys_upload_anim4 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3081: error: Public symbol drawable
/stat_sys_upload_anim5 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2358: error: Public entry identifie
r 0x1080089 entry index is larger than available symbols (index 137, total symbo
ls 20).
D:\Android\apktool\out\res\values\public.xml:2358: error: Public symbol drawable
/stat_sys_upload_done declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2602: error: Public symbol drawable
/stat_sys_vp_phone_call declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3082: error: Public symbol drawable
/stat_sys_vp_phone_call_bluetooth declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2603: error: Public symbol drawable
/stat_sys_vp_phone_call_on_hold declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2580: error: Public symbol drawable
/stat_sys_warning declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3083: error: Public symbol drawable
/stat_sys_wifi_signal_0 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3084: error: Public symbol drawable
/stat_sys_wifi_signal_1 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3085: error: Public symbol drawable
/stat_sys_wifi_signal_2 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3086: error: Public symbol drawable
/stat_sys_wifi_signal_3 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3087: error: Public symbol drawable
/stat_sys_wifi_signal_4 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3088: error: Public symbol drawable
/status_bar_background declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3089: error: Public symbol drawable
/status_bar_close_on declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2466: error: Public entry identifie
r 0x1080333 entry index is larger than available symbols (index 819, total symbo
ls 20).
D:\Android\apktool\out\res\values\public.xml:2466: error: Public symbol drawable
/status_bar_closed_default_background declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3090: error: Public symbol drawable
/status_bar_header_background declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2359: error: Public symbol drawable
/status_bar_item_app_background declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3091: error: Public symbol drawable
/status_bar_item_app_background_normal declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2360: error: Public symbol drawable
/status_bar_item_background declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3092: error: Public symbol drawable
/status_bar_item_background_focus declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3093: error: Public symbol drawable
/status_bar_item_background_normal declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3094: error: Public symbol drawable
/status_bar_item_background_pressed declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2467: error: Public entry identifie
r 0x1080334 entry index is larger than available symbols (index 820, total symbo
ls 20).
D:\Android\apktool\out\res\values\public.xml:2467: error: Public symbol drawable
/status_bar_opened_default_background declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2454: error: Public symbol drawable
/status_icon_background declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3095: error: Public symbol drawable
/statusbar_background declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2455: error: Public symbol drawable
/submenu_arrow declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3096: error: Public symbol drawable
/submenu_arrow_nofocus declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3097: error: Public symbol drawable
/sym_action_add declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2581: error: Public symbol drawable
/sym_action_call declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2582: error: Public symbol drawable
/sym_action_chat declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2583: error: Public symbol drawable
/sym_action_email declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2584: error: Public symbol drawable
/sym_call_incoming declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2585: error: Public symbol drawable
/sym_call_missed declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2586: error: Public symbol drawable
/sym_call_outgoing declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2588: error: Public symbol drawable
/sym_contact_card declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2587: error: Public symbol drawable
/sym_def_app_icon declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2456: error: Public symbol drawable
/tab_bottom_left declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2457: error: Public symbol drawable
/tab_bottom_left_v4 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2458: error: Public symbol drawable
/tab_bottom_right declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2459: error: Public symbol drawable
/tab_bottom_right_v4 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3098: error: Public symbol drawable
/tab_focus declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3099: error: Public symbol drawable
/tab_focus_bar_left declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3100: error: Public symbol drawable
/tab_focus_bar_right declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2460: error: Public symbol drawable
/tab_indicator declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2461: error: Public symbol drawable
/tab_indicator_v4 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3101: error: Public symbol drawable
/tab_press declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3102: error: Public symbol drawable
/tab_press_bar_left declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3103: error: Public symbol drawable
/tab_press_bar_right declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3104: error: Public symbol drawable
/tab_selected declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3105: error: Public symbol drawable
/tab_selected_bar_left declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3106: error: Public symbol drawable
/tab_selected_bar_left_v4 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3107: error: Public symbol drawable
/tab_selected_bar_right declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3108: error: Public symbol drawable
/tab_selected_bar_right_v4 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3109: error: Public symbol drawable
/tab_selected_v4 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3110: error: Public symbol drawable
/tab_unselected declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3111: error: Public symbol drawable
/tab_unselected_v4 declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3112: error: Public symbol drawable
/textfield_default declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3113: error: Public symbol drawable
/textfield_disabled declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3114: error: Public symbol drawable
/textfield_disabled_selected declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3115: error: Public symbol drawable
/textfield_pressed declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2462: error: Public symbol drawable
/textfield_search declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3116: error: Public symbol drawable
/textfield_search_default declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3117: error: Public symbol drawable
/textfield_search_pressed declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3118: error: Public symbol drawable
/textfield_search_selected declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3119: error: Public symbol drawable
/textfield_selected declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2463: error: Public symbol drawable
/timepicker_down_btn declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3120: error: Public symbol drawable
/timepicker_down_disabled declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3121: error: Public symbol drawable
/timepicker_down_disabled_focused declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3122: error: Public symbol drawable
/timepicker_down_normal declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3123: error: Public symbol drawable
/timepicker_down_pressed declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3124: error: Public symbol drawable
/timepicker_down_selected declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2464: error: Public symbol drawable
/timepicker_input declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3125: error: Public symbol drawable
/timepicker_input_disabled declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3126: error: Public symbol drawable
/timepicker_input_normal declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3127: error: Public symbol drawable
/timepicker_input_pressed declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3128: error: Public symbol drawable
/timepicker_input_selected declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2465: error: Public symbol drawable
/timepicker_up_btn declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3129: error: Public symbol drawable
/timepicker_up_disabled declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3130: error: Public symbol drawable
/timepicker_up_disabled_focused declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3131: error: Public symbol drawable
/timepicker_up_normal declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3132: error: Public symbol drawable
/timepicker_up_pressed declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3133: error: Public symbol drawable
/timepicker_up_selected declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2361: error: Public symbol drawable
/title_bar declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3134: error: Public symbol drawable
/title_bar_medium declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3135: error: Public symbol drawable
/title_bar_portrait declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3136: error: Public symbol drawable
/title_bar_shadow declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2601: error: Public symbol drawable
/title_bar_tall declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2589: error: Public symbol drawable
/toast_frame declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3137: error: Public symbol drawable
/unknown_image declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:2590: error: Public symbol drawable
/zoom_plate declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3138: error: Public symbol drawable
/zzz_btn_search_dialog_voice declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3139: error: Public symbol drawable
/zzz_btn_search_dialog_voice_default declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3140: error: Public symbol drawable
/zzz_btn_search_dialog_voice_pressed declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3141: error: Public symbol drawable
/zzz_btn_search_dialog_voice_selected declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3142: error: Public symbol drawable
/zzz_icon_clear_input declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3143: error: Public symbol drawable
/zzz_icon_clear_input_press declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3144: error: Public symbol drawable
/zzz_icon_clear_input_rest declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3145: error: Public symbol drawable
/zzz_stat_sys_hac declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3146: error: Public symbol drawable
/zzz_stat_sys_headphone_no_mic declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3147: error: Public symbol drawable
/zzz_stat_sys_headphones declared here is not defined.
D:\Android\apktool\out\res\values\public.xml:3148: error: Public symbol drawable
/zzz_stat_sys_tty declared here is not defined.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\SANDIE~1\AppData\Local\Tem
p\APKTOOL7064264535031998244.tmp, -x, -S, D:\Android\apktool\out\res, -M, D:\And
roid\apktool\out\AndroidManifest.xml, D:\Android\apktool\out\9patch]
at brut.androlib.res.AndrolibResources.aaptPackage(Unknown Source)
at brut.androlib.Androlib.buildResourcesFull(Unknown Source)
at brut.androlib.Androlib.buildResources(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.androlib.Androlib.build(Unknown Source)
at brut.apktool.Main.cmdBuild(Unknown Source)
at brut.apktool.Main.main(Unknown Source)
Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U
sers\SANDIE~1\AppData\Local\Temp\APKTOOL7064264535031998244.tmp, -x, -S, D:\Andr
oid\apktool\out\res, -M, D:\Android\apktool\out\AndroidManifest.xml, D:\Android\
apktool\out\9patch]
at brut.util.OS.exec(Unknown Source)
... 7 more

D:\Android\apktool>

There is more, but this is all I could get out of the command prompt window. What am I doing wrong?