[Galaxy Ace S5830 Android Development] crazyking_max:
Hey itasoulas,

congratulation for the great ROM!

I'm trying to edit the MMS.apk to add more languages and disable custom animations because they are too laggy.

I'm using APK Multi-Tools to decompile it, but then if i try to recompile the package, it gives me these errors:

C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:53: error: Public symbol drawable/ic_dialog_email_pending declared here is no
t defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:54: error: Public symbol drawable/ic_email_pending declared here is not defin
ed.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:55: error: Public symbol drawable/ic_gallery_video_overlay declared here is n
ot defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:56: error: Public symbol drawable/ic_groupchat declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:57: error: Public symbol drawable/ic_launcher_camera declared here is not def
ined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:58: error: Public symbol drawable/ic_launcher_camera_record declared here is
not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:59: error: Public symbol drawable/ic_launcher_gallery declared here is not de
fined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:60: error: Public symbol drawable/ic_launcher_musicplayer_2 declared here is
not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:61: error: Public symbol drawable/ic_launcher_record_audio declared here is n
ot defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:62: error: Public symbol drawable/ic_launcher_slideshow_add_sms declared here
is not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:63: error: Public symbol drawable/ic_launcher_slideshow_default_sms declared
here is not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:64: error: Public symbol drawable/ic_launcher_smsmms declared here is not def
ined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:65: error: Public symbol drawable/ic_launcher_video_player declared here is n
ot defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:66: error: Public symbol drawable/ic_list_alert_sms_failed declared here is n
ot defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:67: error: Public symbol drawable/ic_lock_message_sms declared here is not de
fined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:68: error: Public symbol drawable/ic_maps_back declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:69: error: Public symbol drawable/ic_maps_next declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:70: error: Public symbol drawable/ic_menu_add_slide declared here is not defi
ned.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:71: error: Public symbol drawable/ic_menu_add_sound declared here is not defi
ned.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:72: error: Public symbol drawable/ic_menu_attachment declared here is not def
ined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:73: error: Public symbol drawable/ic_menu_call declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:74: error: Public symbol drawable/ic_menu_contact declared here is not define
d.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:75: error: Public symbol drawable/ic_menu_delete_played declared here is not
defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:76: error: Public symbol drawable/ic_menu_duration declared here is not defin
ed.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:77: error: Public symbol drawable/ic_menu_edit declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:78: error: Public symbol drawable/ic_menu_emoticons declared here is not defi
ned.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:79: error: Public symbol drawable/ic_menu_friendslist declared here is not de
fined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:80: error: Public symbol drawable/ic_menu_move_down declared here is not defi
ned.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:81: error: Public symbol drawable/ic_menu_move_up declared here is not define
d.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:82: error: Public symbol drawable/ic_menu_movie declared here is not defined.

C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:83: error: Public symbol drawable/ic_menu_picture declared here is not define
d.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:84: error: Public symbol drawable/ic_menu_remove_picture declared here is not
defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:85: error: Public symbol drawable/ic_menu_remove_sound declared here is not d
efined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:86: error: Public symbol drawable/ic_menu_remove_text declared here is not de
fined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:87: error: Public symbol drawable/ic_menu_remove_video declared here is not d
efined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:88: error: Public symbol drawable/ic_missing_thumbnail_picture declared here
is not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:89: error: Public symbol drawable/ic_missing_thumbnail_video declared here is
not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:90: error: Public symbol drawable/ic_mms_drm_protected declared here is not d
efined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:91: error: Public symbol drawable/ic_mms_duration declared here is not define
d.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:92: error: Public symbol drawable/ic_mms_layout declared here is not defined.

C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:93: error: Public symbol drawable/ic_mms_music declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:94: error: Public symbol drawable/ic_mms_text_bottom declared here is not def
ined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:95: error: Public symbol drawable/ic_mms_text_top declared here is not define
d.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:96: error: Public symbol drawable/ic_sms_mms_delivered declared here is not d
efined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:97: error: Public symbol drawable/ic_sms_mms_details declared here is not def
ined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:98: error: Public symbol drawable/ic_sms_mms_not_delivered declared here is n
ot defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:99: error: Public symbol drawable/ic_sms_mms_pending declared here is not def
ined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:100: error: Public symbol drawable/ic_sms_unread_msg_indicator declared here
is not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:22: error: Public entry identifier 0x7f02006e entry index is larger than avai
lable symbols (index 110, total symbols 11).
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:22: error: Public symbol drawable/light_blue_background declared here is not
defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:26: error: Public entry identifier 0x7f020072 entry index is larger than avai
lable symbols (index 114, total symbols 11).
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:26: error: Public symbol drawable/lightgrey_background declared here is not d
efined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:14: error: Public symbol drawable/listitem_background declared here is not de
fined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:15: error: Public symbol drawable/listitem_background_black declared here is
not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:16: error: Public symbol drawable/listitem_background_lightblue declared here
is not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:17: error: Public symbol drawable/listitem_background_lightgrey declared here
is not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:101: error: Public symbol drawable/mms_play_btn declared here is not defined.

C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:102: error: Public symbol drawable/movie declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:25: error: Public entry identifier 0x7f020071 entry index is larger than avai
lable symbols (index 113, total symbols 11).
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:25: error: Public symbol drawable/softgrey_background declared here is not de
fined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:103: error: Public symbol drawable/stat_notify_mms declared here is not defin
ed.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:104: error: Public symbol drawable/stat_notify_sms declared here is not defin
ed.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:105: error: Public symbol drawable/stat_notify_sms_failed declared here is no
t defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:106: error: Public symbol drawable/stat_sys_no_sim declared here is not defin
ed.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:27: error: Public entry identifier 0x7f020073 entry index is larger than avai
lable symbols (index 115, total symbols 11).
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:27: error: Public symbol drawable/text_color declared here is not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:29: error: Public entry identifier 0x7f020075 entry index is larger than avai
lable symbols (index 117, total symbols 11).
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:29: error: Public symbol drawable/text_color_black declared here is not defin
ed.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:31: error: Public entry identifier 0x7f020077 entry index is larger than avai
lable symbols (index 119, total symbols 11).
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:31: error: Public symbol drawable/text_color_green declared here is not defin
ed.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:30: error: Public entry identifier 0x7f020076 entry index is larger than avai
lable symbols (index 118, total symbols 11).
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:30: error: Public symbol drawable/text_color_offwhite declared here is not de
fined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:28: error: Public entry identifier 0x7f020074 entry index is larger than avai
lable symbols (index 116, total symbols 11).
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:28: error: Public symbol drawable/text_color_red declared here is not defined
.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:107: error: Public symbol drawable/textfield_im_user_pressed_pad declared her
e is not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:108: error: Public symbol drawable/textfield_im_user_selected_pad declared he
re is not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:18: error: Public symbol drawable/timepicker_down_btn declared here is not de
fined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:109: error: Public symbol drawable/timepicker_down_disabled declared here is
not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:110: error: Public symbol drawable/timepicker_down_disabled_focused declared
here is not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:111: error: Public symbol drawable/timepicker_down_normal declared here is no
t defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:112: error: Public symbol drawable/timepicker_down_pressed declared here is n
ot defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:113: error: Public symbol drawable/timepicker_down_selected declared here is
not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:19: error: Public symbol drawable/timepicker_input declared here is not defin
ed.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:114: error: Public symbol drawable/timepicker_input_disabled declared here is
not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:115: error: Public symbol drawable/timepicker_input_normal declared here is n
ot defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:116: error: Public symbol drawable/timepicker_input_pressed declared here is
not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:117: error: Public symbol drawable/timepicker_input_selected declared here is
not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:20: error: Public symbol drawable/timepicker_up_btn declared here is not defi
ned.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:118: error: Public symbol drawable/timepicker_up_disabled declared here is no
t defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:119: error: Public symbol drawable/timepicker_up_disabled_focused declared he
re is not defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:120: error: Public symbol drawable/timepicker_up_normal declared here is not
defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:121: error: Public symbol drawable/timepicker_up_pressed declared here is not
defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:122: error: Public symbol drawable/timepicker_up_selected declared here is no
t defined.
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:23: error: Public entry identifier 0x7f02006f entry index is larger than avai
lable symbols (index 111, total symbols 11).
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res\values\public.x
ml:23: error: Public symbol drawable/white_background declared here is not defin
ed.
Exception in thread "main" brut.androlib.AndrolibException: brut.common.BrutExce
ption: could not exec command: [aapt, p, -F, C:\Users\Utente\AppData\Local\Temp\
APKTOOL5740902029507466091.tmp, -I, C:\Users\Utente\apktool\framework\1.apk, -S,
C:\Program Files (x86)\Android\android-sdk\projects\Mms2.apk\res, -M, C:\Progra
m Files (x86)\Android\android-sdk\projects\Mms2.apk\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\Utente\AppData\Local\Temp\APKTOOL5740902029507466091.tmp, -I, C:\Users\Uten
te\apktool\framework\1.apk, -S, C:\Program Files (x86)\Android\android-sdk\proje
cts\Mms2.apk\res, -M, C:\Program Files (x86)\Android\android-sdk\projects\Mms2.a
pk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:83)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:191)
... 6 more

I've tried to decompile and recompile the MMS.apk without making any editing and it gives me the same error.

So i think it's caused by a problem in the decompiling or recompiling process.

However, i tried to decompile/recompile other APKs (even the MMS.apk included in Miracle V4) and it worked perfectly.

This problem seems to aappear only when compiling/decompiling the nims' MMS.apk (the one you have included in APOCALYPSE).

What could be the problem?