[Android General] MihaiA7X:
Hello, so I did everything to the letter. My phone is Samsung S7580 I succesfully decompiled and edited the SecSettings.apk but when I tried to recompile this happened:

I: Using Apktool 2.0.0-RC2 on SecSettings
I: Copying SecSettings classes.dex file...
I: Checking whether resources has changed...
I: Building resources...
c:\APKTOOL\SecSettings\res\values\public.xml:779: error: Public symbol drawable/
tw_popup_list_btn_pressed_holo_dark declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:780: error: Public symbol drawable/
tw_popup_list_btn_pressed_holo_light declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:781: error: Public symbol drawable/
tw_preference_contents_bg_holo declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:782: error: Public symbol drawable/
tw_preference_contents_list_divider_holo_dark declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:784: error: Public symbol drawable/
tw_progress_bg_holo_light_s declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:785: error: Public symbol drawable/
tw_progress_primary_holo_dark declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:786: error: Public symbol drawable/
tw_progress_primary_holo_dark_s declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:787: error: Public symbol drawable/
tw_progress_secondary_holo_dark declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:794: error: Public symbol drawable/
tw_searchfield_background_holo declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:795: error: Public symbol drawable/
tw_setupwizard_list_item_background declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:796: error: Public symbol drawable/
tw_setupwizard_next_button declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1329: error: Public symbol drawable
/tw_soft_divider declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:797: error: Public symbol drawable/
tw_sound_balance_progress_bg_holo_dark declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:798: error: Public symbol drawable/
tw_sound_balance_progress_bg_holo_light_s declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1330: error: Public symbol drawable
/tw_sub_action_bar_bg_holo_dark declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1331: error: Public symbol drawable
/tw_sub_action_bar_bg_holo_light declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:799: error: Public symbol drawable/
tw_sub_header_bg_dark declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:800: error: Public symbol drawable/
tw_wifi_ap_list_item_background declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1332: error: Public symbol drawable
/tw_wifioffload_buttonbarbutton_selector_default_holo_dark declared here is not
defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1333: error: Public symbol drawable
/tw_wifioffload_buttonbarbutton_selector_default_holo_light declared here is not
defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1334: error: Public symbol drawable
/tw_wifioffload_buttonbarbutton_selector_disabled_holo_dark declared here is not
defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1335: error: Public symbol drawable
/tw_wifioffload_buttonbarbutton_selector_disabled_holo_light declared here is no
t defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1336: error: Public symbol drawable
/tw_wifioffload_buttonbarbutton_selector_focused_holo_dark declared here is not
defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1337: error: Public symbol drawable
/tw_wifioffload_buttonbarbutton_selector_focused_holo_light declared here is not
defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1338: error: Public symbol drawable
/tw_wifioffload_buttonbarbutton_selector_pressed_holo_dark declared here is not
defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1339: error: Public symbol drawable
/tw_wifioffload_buttonbarbutton_selector_pressed_holo_light declared here is not
defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1340: error: Public symbol drawable
/tw_wifioffload_buttonbarbutton_selector_selected_holo_dark declared here is not
defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1341: error: Public symbol drawable
/tw_wifioffload_buttonbarbutton_selector_selected_holo_light declared here is no
t defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1342: error: Public symbol drawable
/tw_wifioffload_dialog_bottom_holo_dark declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1343: error: Public symbol drawable
/tw_wifioffload_dialog_bottom_medium_holo_dark declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1344: error: Public symbol drawable
/tw_wifioffload_dialog_bottom_medium_holo_light declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1345: error: Public symbol drawable
/tw_wifioffload_dialog_middle_holo_dark declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1346: error: Public symbol drawable
/tw_wifioffload_dialog_middle_holo_light declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1347: error: Public symbol drawable
/tw_wifioffload_dialog_top_holo_dark declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1348: error: Public symbol drawable
/tw_wifioffload_dialog_top_medium_holo_dark declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1349: error: Public symbol drawable
/tw_wifioffload_dialog_top_medium_holo_light declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1350: error: Public symbol drawable
/tw_wifioffload_popup_button_background_holo_dark declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1351: error: Public symbol drawable
/tw_wifioffload_popup_button_background_light declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1352: error: Public symbol drawable
/tw_wifioffload_popup_button_text_holo_dark declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1353: error: Public symbol drawable
/tw_wifioffload_popup_button_text_holo_light declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1397: error: Public symbol drawable
/tw_wifioffload_popup_group_title_bg declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1354: error: Public symbol drawable
/tw_wifioffload_widget_progressbar_holo_dark declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1355: error: Public symbol drawable
/upload declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1356: error: Public symbol drawable
/usb_bluetooth_fail declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:804: error: Public symbol drawable/
usm_settings_icon declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:805: error: Public symbol drawable/
usp_bar_nor declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:806: error: Public symbol drawable/
usp_bar_press declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:807: error: Public symbol drawable/
usp_bg declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:808: error: Public symbol drawable/
usp_divider declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:809: error: Public symbol drawable/
usp_ic_directcall_focus declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:810: error: Public symbol drawable/
usp_ic_directcall_normal declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:811: error: Public symbol drawable/
usp_ic_powersaving_focus declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:812: error: Public symbol drawable/
usp_ic_powersaving_normal declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:813: error: Public symbol drawable/
usp_ic_sbeam_focus declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:814: error: Public symbol drawable/
usp_ic_sbeam_normal declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:815: error: Public symbol drawable/
usp_ic_smartalert_focus declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:816: error: Public symbol drawable/
usp_ic_smartalert_normal declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:817: error: Public symbol drawable/
usp_ic_smartstay_focus declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:818: error: Public symbol drawable/
usp_ic_smartstay_normal declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:819: error: Public symbol drawable/
usp_ic_voicecmd_focus declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:820: error: Public symbol drawable/
usp_ic_voicecmd_normal declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:821: error: Public symbol drawable/
usp_preview declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1357: error: Public symbol drawable
/vibration_bg01 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1358: error: Public symbol drawable
/vibration_icon_play declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1359: error: Public symbol drawable
/vibration_icon_play_focus declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1360: error: Public symbol drawable
/vibration_icon_play_p declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1361: error: Public symbol drawable
/vibration_icon_stop declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1362: error: Public symbol drawable
/vibration_icon_stop_focus declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1363: error: Public symbol drawable
/vibration_icon_stop_p declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1364: error: Public symbol drawable
/vibration_recording_touch declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1365: error: Public symbol drawable
/voice_talk_setting declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:822: error: Public symbol drawable/
wfd_auto_connect_animation declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:823: error: Public symbol drawable/
wfd_auto_connect_animation_camera declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1366: error: Public symbol drawable
/wfd_connecting_01 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1367: error: Public symbol drawable
/wfd_connecting_02 declared herException in thread "main" e is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1368: error: Public symbol drawable
/wfd_connecting_03 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1369: error: Public symbol drawable
/wfd_connecting_04 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1370: error: Public symbol drawable
/wfd_connecting_05 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1371: error: Public symbol drawable
/wfd_connecting_06 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1372: error: Public symbol drawable
/wfd_connecting_07 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1373: error: Public symbol drawable
/wfd_connecting_08 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1374: error: Public symbol drawable
/wfd_connecting_09 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1375: error: Public symbol drawable
/widget_4x4_bg declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1376: error: Public symbol drawable
/widget_4x4_bg_l declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1377: error: Public symbol drawable
/widget_bg declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1378: error: Public symbol drawable
/widget_settings_preview declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:830: error: Public symbol drawable/
widget_shadow declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1379: error: Public symbol drawable
/widget_title_bg declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1380: error: Public symbol drawable
/widget_title_bg_l declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:833: error: Public symbol drawable/
wifi_add_network declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:834: error: Public symbol drawable/
wifi_ap_error1_1 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:835: error: Public symbol drawable/
wifi_ap_error1_2 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:836: error: Public symbol drawable/
wifi_ap_error1_3 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:837: error: Public symbol drawable/
wifi_ap_error1_4 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:838: error: Public symbol drawable/
wifi_ap_error2_1 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:839: error: Public symbol drawable/
wifi_ap_error2_2 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:840: error: Public symbol drawable/
wifi_ap_error2_3 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:841: error: Public symbol drawable/
wifi_ap_error2_4 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:842: error: Public symbol drawable/
wifi_ap_list_selectall declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:843: error: Public symbol drawable/
wifi_ap_open_security_warning_dialog_button_dark declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:844: error: Public symbol drawable/
wifi_ap_open_security_warning_dialog_button_white declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:845: error: Public symbol drawable/
wifi_error_ap_ani declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:846: error: Public symbol drawable/
wifi_error_internet_ani declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:847: error: Public symbol drawable/
wifi_hidden_ap_tooltip declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:848: error: Public symbol drawable/
wifi_no_aps declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:849: error: Public symbol drawable/
wifi_no_hidden_aps declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1381: error: Public symbol drawable
/wifi_offload_signal declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1382: error: Public symbol drawable
/wifi_offload_signal_lock declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1383: error: Public symbol drawable
/wifi_offload_signal_open declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:850: error: Public symbol drawable/
wifi_signal declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:851: error: Public symbol drawable/
wifi_signal_lock declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:852: error: Public symbol drawable/
wifi_signal_open declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1384: error: Public symbol drawable
/wifioffload_dialog_lock_signal_lock_0 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1385: error: Public symbol drawable
/wifioffload_dialog_lock_signal_lock_1 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1386: error: Public symbol drawable
/wifioffload_dialog_lock_signal_lock_2 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1387: error: Public symbol drawable
/wifioffload_dialog_lock_signal_lock_3 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1388: error: Public symbol drawable
/wifioffload_dialog_lock_signal_lock_4 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1389: error: Public symbol drawable
/wifioffload_dialog_signal_0 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1390: error: Public symbol drawable
/wifioffload_dialog_signal_1 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1391: error: Public symbol drawable
/wifioffload_dialog_signal_2 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1392: error: Public symbol drawable
/wifioffload_dialog_signal_3 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1393: error: Public symbol drawable
/wifioffload_dialog_signal_4 declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1394: error: Public symbol drawable
/wifioffload_popup_group_title_bg declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1395: error: Public symbol drawable
/worldclock_icon_time declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:1396: error: Public symbol drawable
/zzz_null declared here is not defined.
c:\APKTOOL\SecSettings\res\values\public.xml:7433: error: Public symbol string/g
estures declared here is not defined.
brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.Br
utException: could not exec command: [C:\Users\Mihai\AppData\Local\Temp\brut_uti
l_Jar_1079793267281812754.tmp, p, --forced-package-id, 127, --min-sdk-version, 1
7, --target-sdk-version, 17, --version-code, 17, --version-name, 4.2.2-S7580LUBU
ANA4, -F, C:\Users\Mihai\AppData\Local\Temp\APKTOOL7808013887284243625.tmp, -0,
arsc, -I, C:\Users\Mihai\apktool\framework\1.apk, -I, C:\Users\Mihai\apktool\fra
mework\2.apk, -S, c:\APKTOOL\SecSettings\res, -M, c:\APKTOOL\SecSettings\Android
Manifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:449)
at brut.androlib.Androlib.buildResources(Androlib.java:383)
at brut.androlib.Androlib.build(Androlib.java:286)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:240)
at brut.apktool.Main.main(Main.java:89)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [C:\Users\Mihai\AppData\Local\Temp\brut_util_Jar_1079793267281812
754.tmp, p, --forced-package-id, 127, --min-sdk-version, 17, --target-sdk-versio
n, 17, --version-code, 17, --version-name, 4.2.2-S7580LUBUANA4, -F, C:\Users\Mih
ai\AppData\Local\Temp\APKTOOL7808013887284243625.tmp, -0, arsc, -I, C:\Users\Mih
ai\apktool\framework\1.apk, -I, C:\Users\Mihai\apktool\framework\2.apk, -S, c:\A
PKTOOL\SecSettings\res, -M, c:\APKTOOL\SecSettings\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:487)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:434)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Mihai\Ap
pData\Local\Temp\brut_util_Jar_1079793267281812754.tmp, p, --forced-package-id,
127, --min-sdk-version, 17, --target-sdk-version, 17, --version-code, 17, --vers
ion-name, 4.2.2-S7580LUBUANA4, -F, C:\Users\Mihai\AppData\Local\Temp\APKTOOL7808
013887284243625.tmp, -0, arsc, -I, C:\Users\Mihai\apktool\framework\1.apk, -I, C
:\Users\Mihai\apktool\framework\2.apk, -S, c:\APKTOOL\SecSettings\res, -M, c:\AP
KTOOL\SecSettings\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:481)
... 6 more

Please help anybody, thanks :)