[Android] ericmaxman:
Sorry to necro again, but I'm trying to edit the framework-res.apk to add virtual buttons, but everytime I try to recompile the apk, I kept getting this error

C:\android\apktool\framework\res\values\public.xml:2971: error: Public symbol st

ring/shutdown_confirm_question declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:2969: error: Public symbol st

ring/shutdown_progress declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:2961: error: Public symbol st

ring/silent_mode declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:2968: error: Public symbol st

ring/silent_mode_ring declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:2966: error: Public symbol st

ring/silent_mode_silent declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:2967: error: Public symbol st

ring/silent_mode_vibrate declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3681: error: Public symbol st

ring/sim_added_message declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3680: error: Public symbol st

ring/sim_added_title declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3679: error: Public symbol st

ring/sim_done_button declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3678: error: Public symbol st

ring/sim_removed_message declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3677: error: Public symbol st

ring/sim_removed_title declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3682: error: Public symbol st

ring/sim_restart_button declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3389: error: Public symbol st

ring/sipAddressTypeCustom declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3390: error: Public symbol st

ring/sipAddressTypeHome declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3392: error: Public symbol st

ring/sipAddressTypeOther declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3391: error: Public symbol st

ring/sipAddressTypeWork declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3781: error: Public symbol st

ring/skip_button_label declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3672: error: Public symbol st

ring/sms_control_default_app_name declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3674: error: Public symbol st

ring/sms_control_message declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3676: error: Public symbol st

ring/sms_control_no declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3673: error: Public symbol st

ring/sms_control_title declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3675: error: Public symbol st

ring/sms_control_yes declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3624: error: Public symbol st

ring/smv_application declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3625: error: Public symbol st

ring/smv_process declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3881: error: Public symbol st

ring/ssl_certificate declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3882: error: Public symbol st

ring/ssl_certificate_is_valid declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3898: error: Public symbol st

ring/status_bar_device_locked declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3903: error: Public symbol st

ring/storage_external_usb declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3863: error: Public symbol st

ring/storage_internal declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3914: error: Public symbol st

ring/storage_phone declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3864: error: Public symbol st

ring/storage_sd_card declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3865: error: Public symbol st

ring/storage_usb declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3774: error: Public symbol st

ring/submit declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3835: error: Public symbol st

ring/switch_off declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3834: error: Public symbol st

ring/switch_on declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3762: error: Public symbol st

ring/sync_binding_label declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3809: error: Public symbol st

ring/sync_do_nothing declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3807: error: Public symbol st

ring/sync_really_delete declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3805: error: Public symbol st

ring/sync_too_many_deletes declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3806: error: Public symbol st

ring/sync_too_many_deletes_desc declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3808: error: Public symbol st

ring/sync_undo_deletes declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:2862: error: Public symbol st

ring/terabyteShort declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3778: error: Public symbol st

ring/tethered_notification_message declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3777: error: Public symbol st

ring/tethered_notification_title declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3591: error: Public symbol st

ring/textSelectionCABTitle declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3552: error: Public symbol st

ring/text_copied declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3783: error: Public symbol st

ring/throttle_warning_notification_message declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3782: error: Public symbol st

ring/throttle_warning_notification_title declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3785: error: Public symbol st

ring/throttled_notification_message declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3784: error: Public symbol st

ring/throttled_notification_title declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:2815: error: Public symbol st

ring/time1_time2 declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3821: error: Public symbol st

ring/time_picker_decrement_hour_button declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3819: error: Public symbol st

ring/time_picker_decrement_minute_button declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3823: error: Public symbol st

ring/time_picker_decrement_set_am_button declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3683: error: Public symbol st

ring/time_picker_dialog_title declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3820: error: Public symbol st

ring/time_picker_increment_hour_button declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3818: error: Public symbol st

ring/time_picker_increment_minute_button declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3822: error: Public symbol st

ring/time_picker_increment_set_pm_button declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:2857: error: Public symbol st

ring/time_picker_separator declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:2830: error: Public symbol st

ring/time_wday declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:2828: error: Public symbol st

ring/time_wday_date declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3837: error: Public symbol st

ring/togglebutton_not_pressed declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3836: error: Public symbol st

ring/togglebutton_pressed declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:2963: error: Public symbol st

ring/turn_off_radio declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:2962: error: Public symbol st

ring/turn_on_radio declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3743: error: Public symbol st

ring/tutorial_double_tap_to_zoom_message_short declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3771: error: Public symbol st

ring/upload_file declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3713: error: Public symbol st

ring/usb_accessory_notification_title declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3712: error: Public symbol st

ring/usb_cd_installer_notification_title declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3711: error: Public symbol st

ring/usb_charging_notification_title declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3910: error: Public symbol st

ring/usb_mode_bypass_all declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3907: error: Public symbol st

ring/usb_mode_bypass_at declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3906: error: Public symbol st

ring/usb_mode_bypass_ets declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3909: error: Public symbol st

ring/usb_mode_bypass_gps declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3905: error: Public symbol st

ring/usb_mode_bypass_modem declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3908: error: Public symbol st

ring/usb_mode_bypass_pcv declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3708: error: Public symbol st

ring/usb_mtp_notification_title declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3714: error: Public symbol st

ring/usb_notification_message declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3709: error: Public symbol st

ring/usb_ptp_notification_title declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3691: error: Public symbol st

ring/usb_storage_activity_title declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3694: error: Public symbol st

ring/usb_storage_button_mount declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3695: error: Public symbol st

ring/usb_storage_error_message declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3693: error: Public symbol st

ring/usb_storage_message declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3697: error: Public symbol st

ring/usb_storage_notification_message declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3696: error: Public symbol st

ring/usb_storage_notification_title declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3702: error: Public symbol st

ring/usb_storage_stop_button_mount declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3703: error: Public symbol st

ring/usb_storage_stop_error_message declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3701: error: Public symbol st

ring/usb_storage_stop_message declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3699: error: Public symbol st

ring/usb_storage_stop_notification_message declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3698: error: Public symbol st

ring/usb_storage_stop_notification_title declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3700: error: Public symbol st

ring/usb_storage_stop_title declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3692: error: Public symbol st

ring/usb_storage_title declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3710: error: Public symbol st

ring/usb_ums_notification_title declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3888: error: Public symbol st

ring/validity_period declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3645: error: Public symbol st

ring/volume_alarm declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3644: error: Public symbol st

ring/volume_bluetooth_call declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3643: error: Public symbol st

ring/volume_call declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3648: error: Public symbol st

ring/volume_icon_description_bluetooth declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3650: error: Public symbol st

ring/volume_icon_description_incall declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3651: error: Public symbol st

ring/volume_icon_description_media declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3652: error: Public symbol st

ring/volume_icon_description_notification declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3649: error: Public symbol st

ring/volume_icon_description_ringer declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3640: error: Public symbol st

ring/volume_music declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3641: error: Public symbol st

ring/volume_music_hint_playing_through_bluetooth declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3642: error: Public symbol st

ring/volume_music_hint_silent_ringtone_selected declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3646: error: Public symbol st

ring/volume_notification declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3639: error: Public symbol st

ring/volume_ringtone declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3647: error: Public symbol st

ring/volume_unknown declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3769: error: Public symbol st

ring/vpn_text declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3770: error: Public symbol st

ring/vpn_text_long declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3767: error: Public symbol st

ring/vpn_title declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3768: error: Public symbol st

ring/vpn_title_long declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3617: error: Public symbol st

ring/wait declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3764: error: Public symbol st

ring/wallpaper_binding_label declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:2825: error: Public symbol st

ring/wday1_date1_time1_wday2_date2_time2 declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:2826: error: Public symbol st

ring/wday1_date1_wday2_date2 declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:2829: error: Public symbol st

ring/wday_date declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3467: error: Public symbol st

ring/web_user_agent declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3468: error: Public entry ide

ntifier 0x104031b entry index is larger than available symbols (index 795, total

symbols 138).

C:\android\apktool\framework\res\values\public.xml:3468: error: Public symbol st

ring/web_user_agent_target_content declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3799: error: Public symbol st

ring/websearch declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3578: error: Public symbol st

ring/week declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3579: error: Public symbol st

ring/weeks declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3601: error: Public symbol st

ring/whichApplication declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3658: error: Public symbol st

ring/wifi_available_sign_in declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3659: error: Public symbol st

ring/wifi_available_sign_in_detailed declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3663: error: Public symbol st

ring/wifi_p2p_dialog_title declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3670: error: Public symbol st

ring/wifi_p2p_enabled_notification_message declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3669: error: Public symbol st

ring/wifi_p2p_enabled_notification_title declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3665: error: Public symbol st

ring/wifi_p2p_failed_message declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3666: error: Public symbol st

ring/wifi_p2p_pbc_go_negotiation_request_message declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3668: error: Public symbol st

ring/wifi_p2p_pin_display_message declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3667: error: Public symbol st

ring/wifi_p2p_pin_go_negotiation_request_message declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3664: error: Public symbol st

ring/wifi_p2p_turnon_message declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3662: error: Public symbol st

ring/wifi_tether_configure_ssid_default declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3660: error: Public symbol st

ring/wifi_watchdog_network_disabled declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3661: error: Public symbol st

ring/wifi_watchdog_network_disabled_detailed declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3580: error: Public symbol st

ring/year declared here is not defined.

C:\android\apktool\framework\res\values\public.xml:3581: error: Public symbol st

ring/years 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\ERIC\AppData\Local\Temp\AP

KTOOL1712204641328360105.tmp, -x, -S, C:\android\apktool\framework\res, -M, C:\a

ndroid\apktool\framework\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav

a: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:182)

at brut.apktool.Main.main(Main.java:67)

Caused by: brut.common.BrutException: could not exec command: [aapt, p, -F, C:\U

sers\ERIC\AppData\Local\Temp\APKTOOL1712204641328360105.tmp, -x, -S, C:\android\

apktool\framework\res, -M, C:\android\apktool\framework\AndroidManifest.xml]

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

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav

a:191)

... 6 more