[Meizu M2 Note Questions & Answers] ivicanikolic034:
Can someone help me with compiling Dialer?

I installed framework-res.apk, flyme-res.apk and mediatek-res.apk. Decompiled Dialer.apk, changed one file (picture), and when i try to compile it, it says:

C:\Users\Ivica\Desktop\apktool1>apktool b Dialer

I: Using Apktool 2.0.0-a766db-SNAPSHOT

I: Checking whether sources has changed...

I: Smaling smali folder into classes.dex...

I: Checking whether resources has changed...

I: Building resources...

warning: string 'account_title' has no default translation.

warning: string 'act_mode_title' has no default translation.

warning: string 'action_menu_call_history_description' has no default translation.

warning: string 'action_menu_dialpad_button' has no default translation.

warning: string 'activity_title_contacts_filter' has no default translation.

warning: string 'addto_spam_address' has no default translation.

warning: string 'addto_spam_address_confirm_delete_contacts_message' has no default translation.

warning: string 'auto_record_all' has no default translation.

warning: string 'auto_record_specify' has no default translation.

warning: string 'auto_record_title' has no default translation.

warning: string 'auto_record_when_calling_summary' has no default translation.

warning: string 'auto_record_when_calling_title' has no default translation.

warning: string 'callAgain' has no default translation.

warning: string 'callBack' has no default translation.

warning: string 'call_first_settings_summary' has no default translation.

warning: string 'call_first_settings_title' has no default translation.

warning: string 'call_log_activity_title' has no default translation.

warning: string 'call_title' has no default translation.

warning: string 'card_title_in_record' has no default translation.

warning: string 'confirm_password_error' has no default translation.

warning: string 'confirm_password_tip' has no default translation.

warning: string 'contact_title' has no default translation.

warning: string 'custom_list_filter' has no default translation.

warning: string 'data_usage_flow_limit_disabled' has no default translation.

warning: string 'delay_answer_ringing_call_summary' has no default translation.

warning: string 'delay_answer_ringing_call_title' has no default translation.

warning: string 'delete' has no default translation.

warning: string 'description_call_log_incoming_call' has no default translation.

warning: string 'description_dial_phone_number' has no default translation.

warning: string 'description_plus_button' has no default translation.

warning: string 'description_send_message' has no default translation.

warning: string 'description_star' has no default translation.

warning: string 'description_start_voice_search' has no default translation.

warning: string 'dialer_hint_find_contact' has no default translation.

warning: string 'disable_gsm_act' has no default translation.

warning: string 'disable_gsm_compact_act' has no default translation.

warning: string 'disable_utran_act' has no default translation.

warning: string 'download_alipay_content' has no default translation.

warning: string 'download_alipay_title' has no default translation.

warning: string 'download_lakala_content' has no default translation.

warning: string 'download_lakala_title' has no default translation.

warning: string 'enable_gsm_act' has no default translation.

warning: string 'enable_gsm_compact_act' has no default translation.

warning: string 'enable_utran_act' has no default translation.

warning: string 'enter_new_password_tip' has no default translation.

warning: string 'enter_password_tip' has no default translation.

warning: string 'epnp_disableallcf' has no default translation.

warning: string 'exporting_contact_list_progress' has no default translation.

warning: string 'flyme_button_close_msg' has no default translation.

warning: string 'flyme_button_close_warning' has no default translation.

warning: string 'flyme_button_open_warning' has no default translation.

warning: string 'flyme_push_title' has no default translation.

warning: string 'foundTooManyContacts' has no default translation.

warning: string 'generic_no_account_prompt' has no default translation.

warning: string 'generic_no_account_prompt_title' has no default translation.

warning: string 'give_up_password' has no default translation.

warning: string 'gsm_act' has no default translation.

warning: string 'gsm_compact_act' has no default translation.

warning: string 'incall_error_phone_close' has no default translation.

warning: string 'incomingcall_settings_title' has no default translation.

warning: string 'insertGroupDescription' has no default translation.

warning: string 'labelBtnInsertPrefixNumber' has no default translation.

warning: string 'labelCFNRc_ex' has no default translation.

warning: string 'labelRecordDisabled' has no default translation.

warning: string 'labelRecordEnabled' has no default translation.

warning: string 'labelSipWifiOnly' has no default translation.

warning: string 'listTotalAllContactsZeroGroup' has no default translation.

warning: string 'listTotalPhoneContactsZero' has no default translation.

warning: string 'list_filter_custom' has no default translation.

warning: string 'location_settings_title' has no default translation.

warning: string 'lock_screen' has no default translation.

warning: string 'match_info_of_phone_number_online' has no default translation.

warning: string 'menu_allContacts' has no default translation.

warning: string 'menu_call' has no default translation.

warning: string 'menu_display_all' has no default translation.

warning: string 'menu_display_selected' has no default translation.

warning: string 'menu_select_all' has no default translation.

warning: string 'menu_select_none' has no default translation.

warning: string 'menu_sendSMS' has no default translation.

warning: string 'menu_stats_refresh' has no default translation.

warning: string 'menu_viewContact' has no default translation.

warning: string 'misccall_settings_title' has no default translation.

warning: string 'mz_change_reject_call_password' has no default translation.

warning: string 'mz_close_reject_call' has no default translation.

warning: string 'mz_mobile_networks' has no default translation.

warning: string 'mz_reject_all_call' has no default translation.

warning: string 'mz_reject_all_dial' has no default translation.

warning: string 'mz_reject_call_when_roaming' has no default translation.

warning: string 'mz_reject_international_dial' has no default translation.

warning: string 'mz_respond_via_sms_canned_response_1' has no default translation.

warning: string 'mz_respond_via_sms_canned_response_2' has no default translation.

warning: string 'mz_respond_via_sms_canned_response_3' has no default translation.

warning: string 'network' has no default translation.

warning: string 'network_id' has no default translation.

warning: string 'network_id_message' has no default translation.

warning: string 'network_index' has no default translation.

warning: string 'network_name' has no default translation.

warning: string 'next_password_tip' has no default translation.

warning: string 'noContactsHelpText' has no default translation.

warning: string 'noContactsHelpTextForCreateShortcut' has no default translation.

warning: string 'noContactsHelpTextWithSync' has no default translation.

warning: string 'noContactsHelpTextWithSyncForCreateShortcut' has no default translation.

warning: string 'noContactsNoSimHelpText' has no default translation.

warning: string 'noContactsNoSimHelpTextWithSync' has no default translation.

warning: string 'noFavoritesHelpText' has no default translation.

warning: string 'non_support_for_sip_call_tip' has no default translation.

warning: string 'notification_missedRecordSdErrorText' has no default translation.

warning: string 'notification_missedRecordSdErrorTitle' has no default translation.

warning: string 'password_not_same_tip' has no default translation.

warning: string 'pay_options' has no default translation.

warning: string 'phone_number_transfer_summary' has no default translation.

warning: string 'phone_number_transfer_title' has no default translation.

warning: string 'prior_select_network' has no default translation.

warning: string 'quit' has no default translation.

warning: string 'reading_vcard_canceled_title' has no default translation.

warning: string 'recentMissed_empty' has no default translation.

warning: string 'recentVoicemails_empty' has no default translation.

warning: string 'record_saveException in thread "main" _tip' has no default translation.

warning: string 'reject_dec' has no default translation.

warning: string 'reject_stranger_calls_disable' has no default translation.

warning: string 'reset_password' has no default translation.

warning: string 'returnCall' has no default translation.

warning: string 'send_to_voicemail_checkbox' has no default translation.

warning: string 'settings' has no default translation.

warning: string 'shortcutContact' has no default translation.

warning: string 'shortcutDialContact' has no default translation.

warning: string 'shortcutMessageContact' has no default translation.

warning: string 'showAllContactsJoinItem' has no default translation.

warning: string 'show_all_contacts_title' has no default translation.

warning: string 'show_favorites_only' has no default translation.

warning: string 'sip_call' has no default translation.

warning: string 'sms_fast_reply' has no default translation.

warning: string 'social_widget_label' has no default translation.

warning: string 'social_widget_loading' has no default translation.

warning: string 'spam_call_filter_summary' has no default translation.

warning: string 'spam_call_filter_title' has no default translation.

warning: string 'speed_dial' has no default translation.

warning: string 'stk_app' has no default translation.

warning: string 'stop_power_off' has no default translation.

warning: string 'summary_setting_in_progress' has no default translation.

warning: string 'toggle_auto_insert_prefix' has no default translation.

warning: string 'toggle_auto_insert_prefix_summary' has no default translation.

warning: string 'toggle_auto_insert_prefix_title' has no default translation.

warning: string 'utran_act' has no default translation.

warning: string 'vibrate_on_connected_toggle_summary' has no default translation.

warning: string 'vibrate_on_connected_toggle_title' has no default translation.

warning: string 'waitingCallText' has no default translation.

warning: string 'widget_name_and_phonetic' has no default translation.

Failed to generate resource table for split ''

C:\Users\Ivica\Desktop\apktool1\Dialer\res\values\arrays.xml:561: error: Error: No resource found that matches the given name (at '^index_0' with value '@android:string/APKTOOL_DUMMY_06bb').

brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\Ivica\AppData\Local\Temp\brut_util_Jar_3416200526784169237.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1-1449661221, -F, C:\Users\Ivica\AppData\Local\Temp\APKTOOL4766158412120216699.tmp, -0, arsc, -I, C:\Users\Ivica\apktool\framework\1.apk, -I, C:\Users\Ivica\apktool\framework\10.apk, -S, C:\Users\Ivica\Desktop\apktool1\Dialer\res, -M, C:\Users\Ivica\Desktop\apktool1\Dialer\AndroidManifest.xml]

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:443)

at brut.androlib.Androlib.buildResources(Androlib.java:380)

at brut.androlib.Androlib.build(Androlib.java:283)

at brut.androlib.Androlib.build(Androlib.java:255)

at brut.apktool.Main.cmdBuild(Main.java:225)

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

Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\Ivica\AppData\Local\Temp\brut_util_Jar_3416200526784169237.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1-1449661221, -F, C:\Users\Ivica\AppData\Local\Temp\APKTOOL4766158412120216699.tmp, -0, arsc, -I, C:\Users\Ivica\apktool\framework\1.apk, -I, C:\Users\Ivica\apktool\framework\10.apk, -S, C:\Users\Ivica\Desktop\apktool1\Dialer\res, -M, C:\Users\Ivica\Desktop\apktool1\Dialer\AndroidManifest.xml]

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:511)

at brut.androlib.Androlib.buildResourcesFull(Androlib.java:429)

... 5 more

Caused by: brut.common.BrutException: could not exec command: [C:\Users\Ivica\AppData\Local\Temp\brut_util_Jar_3416200526784169237.tmp, p, --forced-package-id, 127, --min-sdk-version, 22, --target-sdk-version, 22, --version-code, 22, --version-name, 5.1-1449661221, -F, C:\Users\Ivica\AppData\Local\Temp\APKTOOL4766158412120216699.tmp, -0, arsc, -I, C:\Users\Ivica\apktool\framework\1.apk, -I, C:\Users\Ivica\apktool\framework\10.apk, -S, C:\Users\Ivica\Desktop\apktool1\Dialer\res, -M, C:\Users\Ivica\Desktop\apktool1\Dialer\AndroidManifest.xml]

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

at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:505)

... 6 more

what should i do to compile it successfully?

I am trying to change dialer background, so letters can be visible on non default dpi (white letters, white background :eek: )