[Xperia Arc Q&A, Help & Troubleshooting] Vic.:
I found a modded apktool, decompiling works but compiling doesn't.

Here's a part of the log, because I can't paste it all:

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:428: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim83 declared here is not defined.

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:429: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim84 declared here is not defined.

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:139: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim85 declared here is not defined.

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:430: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim86 declared here is not defined.

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:431: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim87 declared here is not defined.

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:432: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim88 declared here is not defined.

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:433: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim89 declared here is not defined.

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:434: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim9 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:435: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim90 declared here is not defined.

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:436: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim91 declared here is not defined.

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:437: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim92 declared here is not defined.

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:438: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim93 declared here is not defined.

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:439: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim94 declared here is not defined.

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:440: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim95 declared here is not defined.

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:441: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim96 declared here is not defined.

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:442: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim97 declared here is not defined.

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:443: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim98 declared here is not defined.

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:444: error: Pub
lic symbol drawable/stat_sys_battery_charge_anim99 declared here is not defined.

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:140: error: Pub
lic symbol drawable/stat_sys_data_bluetooth declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:141: error: Pub
lic symbol drawable/stat_sys_data_bluetooth_connected declared here is not defin
ed.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:142: error: Pub
lic symbol drawable/stat_sys_data_connected_1x declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:143: error: Pub
lic symbol drawable/stat_sys_data_connected_3g declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:144: error: Pub
lic symbol drawable/stat_sys_data_connected_4g declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:145: error: Pub
lic symbol drawable/stat_sys_data_connected_e declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:146: error: Pub
lic symbol drawable/stat_sys_data_connected_g declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:147: error: Pub
lic symbol drawable/stat_sys_data_connected_h declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:148: error: Pub
lic symbol drawable/stat_sys_data_connected_roam declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:149: error: Pub
lic symbol drawable/stat_sys_data_fully_connected_1x declared here is not define
d.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:150: error: Pub
lic symbol drawable/stat_sys_data_fully_connected_3g declared here is not define
d.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:151: error: Pub
lic symbol drawable/stat_sys_data_fully_connected_4g declared here is not define
d.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:152: error: Pub
lic symbol drawable/stat_sys_data_fully_connected_e declared here is not defined
.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:153: error: Pub
lic symbol drawable/stat_sys_data_fully_connected_g declared here is not defined
.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:154: error: Pub
lic symbol drawable/stat_sys_data_fully_connected_h declared here is not defined
.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:155: error: Pub
lic symbol drawable/stat_sys_data_wimax_signal_0 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:156: error: Pub
lic symbol drawable/stat_sys_data_wimax_signal_0_fully declared here is not defi
ned.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:157: error: Pub
lic symbol drawable/stat_sys_data_wimax_signal_1 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:158: error: Pub
lic symbol drawable/stat_sys_data_wimax_signal_1_fully declared here is not defi
ned.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:159: error: Pub
lic symbol drawable/stat_sys_data_wimax_signal_2 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:160: error: Pub
lic symbol drawable/stat_sys_data_wimax_signal_2_fully declared here is not defi
ned.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:161: error: Pub
lic symbol drawable/stat_sys_data_wimax_signal_3 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:162: error: Pub
lic symbol drawable/stat_sys_data_wimax_signal_3_fully declared here is not defi
ned.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:163: error: Pub
lic symbol drawable/stat_sys_data_wimax_signal_disconnected declared here is not
defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:164: error: Pub
lic symbol drawable/stat_sys_data_wimax_signal_idle declared here is not defined
.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:165: error: Pub
lic symbol drawable/stat_sys_gps_acquiring declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:47: error: Publ
ic symbol drawable/stat_sys_gps_acquiring_anim declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:166: error: Pub
lic symbol drawable/stat_sys_hac_on declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:167: error: Pub
lic symbol drawable/stat_sys_no_sim declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:168: error: Pub
lic symbol drawable/stat_sys_ringer_silent declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:169: error: Pub
lic symbol drawable/stat_sys_ringer_vibrate declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:170: error: Pub
lic symbol drawable/stat_sys_roaming_cdma_0 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:48: error: Publ
ic symbol drawable/stat_sys_roaming_cdma_flash declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:171: error: Pub
lic symbol drawable/stat_sys_roaming_cdma_flash_anim0 declared here is not defin
ed.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:172: error: Pub
lic symbol drawable/stat_sys_roaming_cdma_flash_anim1 declared here is not defin
ed.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:173: error: Pub
lic symbol drawable/stat_sys_signal_0 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:174: error: Pub
lic symbol drawable/stat_sys_signal_0_fully declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:175: error: Pub
lic symbol drawable/stat_sys_signal_1 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:176: error: Pub
lic symbol drawable/stat_sys_signal_1_fully declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:177: error: Pub
lic symbol drawable/stat_sys_signal_2 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:178: error: Pub
lic symbol drawable/stat_sys_signal_2_fully declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:179: error: Pub
lic symbol drawable/stat_sys_signal_3 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:180: error: Pub
lic symbol drawable/stat_sys_signal_3_fully declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:181: error: Pub
lic symbol drawable/stat_sys_signal_4 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:182: error: Pub
lic symbol drawable/stat_sys_signal_4_fully declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:183: error: Pub
lic symbol drawable/stat_sys_signal_flightmode declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:184: error: Pub
lic symbol drawable/stat_sys_signal_in declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:185: error: Pub
lic symbol drawable/stat_sys_signal_inout declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:49: error: Publ
ic symbol drawable/stat_sys_signal_null declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:186: error: Pub
lic symbol drawable/stat_sys_signal_out declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:187: error: Pub
lic symbol drawable/stat_sys_sync declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:188: error: Pub
lic symbol drawable/stat_sys_sync_error declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:189: error: Pub
lic symbol drawable/stat_sys_tty_mode declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:190: error: Pub
lic symbol drawable/stat_sys_wifi_in declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:191: error: Pub
lic symbol drawable/stat_sys_wifi_inout declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:192: error: Pub
lic symbol drawable/stat_sys_wifi_limited_signal_0 declared here is not defined.

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:193: error: Pub
lic symbol drawable/stat_sys_wifi_limited_signal_1 declared here is not defined.

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:194: error: Pub
lic symbol drawable/stat_sys_wifi_limited_signal_2 declared here is not defined.

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:195: error: Pub
lic symbol drawable/stat_sys_wifi_limited_signal_3 declared here is not defined.

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:196: error: Pub
lic symbol drawable/stat_sys_wifi_limited_signal_4 declared here is not defined.

C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:197: error: Pub
lic symbol drawable/stat_sys_wifi_out declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:198: error: Pub
lic symbol drawable/stat_sys_wifi_signal_0 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:199: error: Pub
lic symbol drawable/stat_sys_wifi_signal_1 declared here is not defined.
C:\Users\ViException in thread "main" ctor_2\Desktop\apktool\SystemUI\res\values
\public.xml:200: error: Public symbol drawable/stat_sys_wifi_signal_1_fully decl
ared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:201: error: Pub
lic symbol drawable/stat_sys_wifi_signal_2 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:202: error: Pub
lic symbol drawable/stat_sys_wifi_signal_2_fully declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:203: error: Pub
lic symbol drawable/stat_sys_wifi_signal_3 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:204: error: Pub
lic symbol drawable/stat_sys_wifi_signal_3_fully declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:205: error: Pub
lic symbol drawable/stat_sys_wifi_signal_4 declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:206: error: Pub
lic symbol drawable/stat_sys_wifi_signal_4_fully declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:254: error: Pub
lic symbol drawable/stat_vibrate_off declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:255: error: Pub
lic symbol drawable/stat_wifi_off declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:256: error: Pub
lic symbol drawable/stat_wifi_on declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:62: error: Publ
ic entry identifier 0x7f0200ca entry index is larger than available symbols (ind
ex 202, total symbols 13).
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:62: error: Publ
ic symbol drawable/status_bar_background declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:50: error: Publ
ic symbol drawable/status_bar_bg declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:207: error: Pub
lic symbol drawable/status_bar_bg_tile declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:208: error: Pub
lic symbol drawable/status_bar_close_on declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:51: error: Publ
ic symbol drawable/status_bar_expand declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:209: error: Pub
lic symbol drawable/status_bar_expand_default declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:210: error: Pub
lic symbol drawable/status_bar_expand_pressed declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:211: error: Pub
lic symbol drawable/status_bar_hr declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:52: error: Publ
ic symbol drawable/status_bar_item_background declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:65: error: Publ
ic entry identifier 0x7f0200cd entry index is larger than available symbols (ind
ex 205, total symbols 13).
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:65: error: Publ
ic symbol drawable/status_bar_notification_row_background_color declared here is
not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:64: error: Publ
ic entry identifier 0x7f0200cc entry index is larger than available symbols (ind
ex 204, total symbols 13).
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:64: error: Publ
ic symbol drawable/status_bar_recents_app_thumbnail_background declared here is
not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:53: error: Publ
ic symbol drawable/status_bar_recents_background declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:63: error: Publ
ic entry identifier 0x7f0200cb entry index is larger than available symbols (ind
ex 203, total symbols 13).
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:63: error: Publ
ic symbol drawable/status_bar_recents_background_solid declared here is not defi
ned.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:54: error: Publ
ic symbol drawable/status_bar_settings_slider_disabled declared here is not defi
ned.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:55: error: Publ
ic symbol drawable/status_bar_ticker_background declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:56: error: Publ
ic symbol drawable/status_bar_toggle_button declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:57: error: Publ
ic symbol drawable/ticker_background declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:61: error: Publ
ic entry identifier 0x7f0200c9 entry index is larger than available symbols (ind
ex 201, total symbols 13).
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:61: error: Publ
ic symbol drawable/ticker_background_color declared here is not defined.
C:\Users\Victor_2\Desktop\apktool\SystemUI\res\values\public.xml:212: error: Pub
lic symbol drawable/title_bar_shadow declared here is not defined.
brut.androlib.AndrolibException: brut.common.BrutException: could not exec comma
nd: [aapt, p, -F, C:\Users\Victor_2\AppData\Local\Temp\APKTOOL887194812350367839
4.tmp, -I, C:\Users\Victor_2\apktool\framework\1.apk, -S, C:\Users\Victor_2\Desk
top\apktool\SystemUI\res, -M, C:\Users\Victor_2\Desktop\apktool\SystemUI\Android
Manifest.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\Victor_2\AppData\Local\Temp\APKTOOL8871948123503678394.tmp, -I, C:\Users\Vi
ctor_2\apktool\framework\1.apk, -S, C:\Users\Victor_2\Desktop\apktool\SystemUI\r
es, -M, C:\Users\Victor_2\Desktop\apktool\SystemUI\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more

C:\Users\Victor_2\Desktop\apktool>