problem with Recompiling Settings.apk - Android Q&A, Help & Troubleshooting

hi everyone
I want to decompile the Settings.apk of the Lenovo A3300-GV with 4.4.2 Android version
My Steps :
1. i install the framework-res.apk
2. i decompile the Settings.apk
after Recompile comes the Error: (without any change)
Code:
C:\Users\Afshinpc\Desktop\apktool>apktool b settings
I: Using Apktool 2.0.0-RC2 on settings
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
warning: string 'AGPS_CAUSE_BAD_PUSH_CONTENT' has no default translation.
warning: string 'AGPS_CAUSE_NETWORK_CREATE_FAIL' has no default translation.
warning: string 'AGPS_CAUSE_NETWORK_DISCONN' has no default translation.
warning: string 'AGPS_CAUSE_NOT_SUPPORTED' has no default translation.
warning: string 'AGPS_CAUSE_NO_POSITION' has no default translation.
warning: string 'AGPS_CAUSE_NO_RESOURCE' has no default translation.
warning: string 'AGPS_CAUSE_REMOTE_ABORT' has no default translation.
warning: string 'AGPS_CAUSE_REMOTE_MSG_ERROR' has no default translation.
warning: string 'AGPS_CAUSE_REQ_NOT_ACCEPTED' has no default translation.
warning: string 'AGPS_CAUSE_TIMER_EXPIRY' has no default translation.
warning: string 'AGPS_CAUSE_TLS_AUTH_FAIL' has no default translation.
warning: string 'AGPS_CAUSE_USER_AGREE' has no default translation.
warning: string 'AGPS_CAUSE_USER_DENY' has no default translation.
warning: string 'AGPS_EM_POS_FIXED' has no default translation.
warning: string 'AGPS_EM_RECV_SI_REQ' has no default translation.
warning: string 'AgpsHelp_Category' has no default translation.
warning: string 'EM_NotifyDialog_title' has no default translation.
warning: string 'MobileNetwork_Category' has no default translation.
warning: string 'MobileNetwork_DataConn_off' has no default translation.
warning: string 'MobileNetwork_SIM_Active' has no default translation.
warning: string 'MobileNetwork_off_Summary' has no default translation.
warning: string 'MobileNetwork_on_Summary' has no default translation.
warning: string 'Network_Initiate' has no default translation.
warning: string 'Network_Initiate_Summary_off' has no default translation.
warning: string 'Network_Initiate_Summary_on' has no default translation.
warning: string 'Network_Local_and_Roaming_Summary' has no default translation.
warning: string 'Network_Only_Local_Summary' has no default translation.
warning: string 'Network_Roaming_dialog_content' has no default translation.
warning: string 'Network_Roaming_dialog_title' has no default translation.
warning: string 'Network_Used' has no default translation.
warning: string 'USER_RESPONSE_TIMEOUT' has no default translation.
warning: string 'WiFiNetwork_on_title' has no default translation.
warning: string 'about_agps_message' has no default translation.
warning: string 'about_agps_title' has no default translation.
warning: string 'agps_disable_on_reboot' has no default translation.
warning: string 'agps_disable_on_reboot_summary' has no default translation.
warning: string 'agps_enable_confirm' has no default translation.
warning: string 'agps_enable_confirm_allow' has no default translation.
warning: string 'agps_enable_confirm_deny' has no default translation.
warning: string 'agps_enable_confirm_title' has no default translation.
warning: string 'agps_profile_SLP_address_editbox_title' has no default translat
ion.
warning: string 'agps_profile_select' has no default translation.
warning: string 'agps_settings_enable' has no default translation.
warning: string 'agps_settings_enable_off' has no default translation.
warning: string 'agps_settings_enable_on' has no default translation.
warning: string 'agps_settings_eng_enable' has no default translation.
warning: string 'agps_settings_eng_summary' has no default translation.
warning: string 'agps_settings_title' has no default translation.
warning: string 'agps_str_error' has no default translation.
warning: string 'all_settings_title' has no default translation.
warning: string 'audio_profile_bes_loudness_summary' has no default translation.
warning: string 'audio_profile_bes_loudness_title' has no default translation.
warning: string 'cell_broadcast_settings_summary' has no default translation.
warning: string 'close' has no default translation.
warning: string 'common_settings_title' has no default translation.
warning: string 'confirm_title' has no default translation.
warning: string 'dtmf_tone_enable_title_summery' has no default translation.
warning: string 'epo_about_message' has no default translation.
warning: string 'epo_about_title' has no default translation.
warning: string 'epo_auto_download_summary' has no default translation.
warning: string 'epo_auto_download_title' has no default translation.
warning: string 'epo_cancel_download' has no default translation.
warning: string 'epo_download' has no default translation.
warning: string 'epo_download_time_summary' has no default translation.
warning: string 'epo_download_time_title' has no default translation.
warning: string 'epo_enable_confirm_allow' has no default translation.
warning: string 'epo_enable_confirm_deny' has no default translation.
warning: string 'epo_enable_confirm_message' has no default translation.
warning: string 'epo_enable_confirm_title' has no default translation.
warning: string 'epo_enable_summary' has no default translation.
warning: string 'epo_enable_title' has no default translation.
warning: string 'epo_entrance_summary' has no default translation.
warning: string 'epo_entrance_title' has no default translation.
warning: string 'epo_err_update_failed' has no default translation.
warning: string 'epo_error_dialog_title' has no default translation.
warning: string 'epo_error_no_activite_network' has no default translation.
warning: string 'epo_expire_time_summary' has no default translation.
warning: string 'epo_expire_time_title' has no default translation.
warning: string 'epo_info_title' has no default translation.
warning: string 'epo_ok_btn' has no default translation.
warning: string 'epo_start_time_summary' has no default translation.
warning: string 'epo_start_time_title' has no default translation.
warning: string 'epo_status_starting' has no default translation.
warning: string 'epo_status_stopping' has no default translation.
warning: string 'epo_warning_dialog_message' has no default translation.
warning: string 'epo_warning_dialog_title' has no default translation.
warning: string 'eth_conf_perf_title' has no default translation.
warning: string 'experimental_webview' has no default translation.
warning: string 'experimental_webview_summary' has no default translation.
warning: string 'haptic_feedback_enable_title_summery' has no default translatio
n.
warning: string 'hq_audio_profile_settings' has no default translation.
warning: string 'hq_customize_profile_settings' has no default translation.
warning: string 'lenovo_legal_info' has no default translation.
warning: string 'lock_sounds_enable_title_summery' has no default translation.
warning: string 'next_not_remind' has no default translation.
warning: string 'nfc_payment_ask' has no default translation.
warning: string 'open' has no default translation.
warning: string 'open_data_confirm_title' has no default translation.
warning: string 'open_data_conn_confirm_msg' has no default translation.
warning: string 'openairplane' has no default translation.
warning: string 'port_title' has no default translation.
warning: string 'print_services_title' has no default translation.
warning: string 'sound_effects_enable_title_summery' has no default translation.
warning: string 'summary_font_state_default' has no default translation.
warning: string 'title_font_style' has no default translation.
warning: string 'tls_summary_off' has no default translation.
warning: string 'tls_summary_on' has no default translation.
warning: string 'turn_wifi_to_wlan' has no default translation.
warning: string 'wifi_display_available_devices' has no default translation.
warning: string 'wifi_display_disconnect_text' has no default translation.
warning: string 'wifi_display_disconnect_title' has no default translation.
warning: string 'wifi_display_paired_devices' has no default translation.
warning: string 'wifi_display_search_for_devices' has no default translation.
warning: string 'wifi_display_searching_for_devices' has no default translation.
warning: string 'wifi_display_settings_empty_list_wifi_display_disabled' has no
default translation.
warning: string 'wifi_display_settings_empty_list_wifi_display_off'Exception in
thread "main" has no default translation.
warning: string 'wifi_display_status_available' has no default translation.
warning: string 'wifi_display_summary_disabled' has no default translation.
warning: string 'wifi_display_summary_off' has no default translation.
warning: string 'wifi_display_summary_on' has no default translation.
warning: string 'wimax_settings_summary' has no default translation.
C:\Users\Afshinpc\Desktop\apktool\settings\res\layout\preference_header_switch_i
tem.xml:11: error: Error: No resource found that matches the given name (at 'sty
le' with value '@com.mediatek:style/ImageSwitch').
C:\Users\Afshinpc\Desktop\apktool\settings\res\layout\preference_nfc.xml:11: err
or: Error: No resource found that matches the given name (at 'style' with value
'@com.mediatek:style/ImageSwitch').
C:\Users\Afshinpc\Desktop\apktool\settings\res\layout\preference_sim_info.xml:13
: error: Error: No resource found that matches the given name (at 'style' with v
alue '@com.mediatek:style/ImageSwitch').
C:\Users\Afshinpc\Desktop\apktool\settings\res\layout\preference_sim_info_enable
r.xml:15: error: Error: No resource found that matches the given name (at 'style
' with value '@com.mediatek:style/ImageSwitch').
C:\Users\Afshinpc\Desktop\apktool\settings\res\layout\sim_widget_view.xml:5: err
or: Error: No resource found that matches the given name (at 'style' with value
'@com.mediatek:style/ImageSwitch').
C:\Users\Afshinpc\Desktop\apktool\settings\res\layout\wifi_switch_for_oobe.xml:7
: error: Error: No resource found that matches the given name (at 'style' with v
alue '@com.mediatek:style/ImageSwitch').
brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.Br
utException: could not exec command: [C:\Users\Afshinpc\AppData\Local\Temp\brut_
util_Jar_5016118610004880897.tmp, p, --forced-package-id, 127, --min-sdk-version
, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2, -F, C
:\Users\Afshinpc\AppData\Local\Temp\APKTOOL5964521346204536231.tmp, -0, arsc, -I
, C:\Users\Afshinpc\apktool\framework\1.apk, -S, C:\Users\Afshinpc\Desktop\apkto
ol\settings\res, -M, C:\Users\Afshinpc\Desktop\apktool\settings\AndroidManifest.
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\Afshinpc\AppData\Local\Temp\brut_util_Jar_5016118610004
880897.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-ver
sion, 19, --version-code, 19, --version-name, 4.4.2, -F, C:\Users\Afshinpc\AppDa
ta\Local\Temp\APKTOOL5964521346204536231.tmp, -0, arsc, -I, C:\Users\Afshinpc\ap
ktool\framework\1.apk, -S, C:\Users\Afshinpc\Desktop\apktool\settings\res, -M, C
:\Users\Afshinpc\Desktop\apktool\settings\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\Afshinpc
\AppData\Local\Temp\brut_util_Jar_5016118610004880897.tmp, p, --forced-package-i
d, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --v
ersion-name, 4.4.2, -F, C:\Users\Afshinpc\AppData\Local\Temp\APKTOOL596452134620
4536231.tmp, -0, arsc, -I, C:\Users\Afshinpc\apktool\framework\1.apk, -S, C:\Use
rs\Afshinpc\Desktop\apktool\settings\res, -M, C:\Users\Afshinpc\Desktop\apktool\
settings\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:481)
... 6 more
I use the latest ApkTool and another tools etc apkmultitool , Advanced ApkTool . but my problem not solved
the lenovo framework is installed . another lenovo apps compiled and work fine. Only this is making trouble - I`m using apktool a lot and compiled apk`s, but this problem is new - hope someone has a solution.
tanx

Related

[Q] [Help] Cant compile SecSettings.apk

Im trying to create some mods for stock deodexed roms, and I need to compile SecSettings.apk, but when i try to compile it using apktool it show some problems. is there anything special should be done, since its JB and not ICS?
What I did was installing framework-res.apk and twframework-res.apk, decompiling, adding and changing some files (XML's) and trying to recompile it.
One more thing, id does work if I don't change anything in the decompiled files.
Anyone know what to do?
"some problems"? do you really expect us to guess?
Glebun said:
"some problems"? do you really expect us to guess?
Click to expand...
Click to collapse
Code:
translation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'learn_about_air_scroll_content' has no default translatio
n in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'learn_about_air_turn' has no default translation in C:\An
droid\apktool\settings\res; found: ru
aapt: warning: string 'learn_about_air_turn_content' has no default translation
in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'learn_about_call_accept_content' has no default translati
on in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lgt_service_global_auto_roaming_call_customcenter_summary
_nocall' has no default translation in C:\Android\apktool\settings\res; found: r
u
aapt: warning: string 'lock_screen_options_summary_kor' has no default translati
on in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lock_screen_options_summary_no_ticker' has no default tra
nslation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_change_finger_unlock_title' has no default tra
nslation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_dbadmin_failure_default_toast' has no default
translation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_dbadmin_title' has no default translation in C
:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_enrollment_canceled_toast' has no default tran
slation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_enrollment_database_full' has no default trans
lation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_enrollment_failure_default_toast' has no defau
lt translation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_enrollment_succeeded_toast' has no default tra
nslation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_enrollment_timeout_toast' has no default trans
lation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_enrollment_unknown_error_toast' has no default
translation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_finger_settings_title' has no default translat
ion in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_lockout_countdown_footer' has no default trans
lation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_semaphore_failure_toast' has no default transl
ation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_set_finger_unlock_title' has no default transl
ation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_toggle_unlock_finger_summary' has no default t
ranslation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_toggle_unlock_finger_title' has no default tra
nslation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_too_many_bad_swipes_header' has no default tra
nslation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_tsm_library_not_available_toast' has no defaul
t translation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_ui_timeout_header' has no default translation
in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_unlock_disable_lock_finger_summary' has no def
ault translation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_unlock_fingerprint_shortcut_summary' has no de
fault translation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_unlock_set_unlock_finger_summary' has no defau
lt translation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_unlock_set_unlock_finger_title' has no default
translation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_unlock_set_unlock_launch_picker_change_summary
' has no default translation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockfinger_unlock_set_unlock_launch_picker_summary' has n
o default translation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockpassword_finger_set_toast' has no default translation
in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'lockpattern_change_lock_finger_label' has no default tran
slation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'loss_prevention_alert_Popup_msg' has no default translati
on in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'loss_prevention_alert_Popup_title' has no default transla
tion in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'media_format_button_text_sd' has no default translation i
n C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'media_format_desc_sd' has no default translation in C:\An
droid\apktool\settings\res; found: ru
aapt: warning: string 'media_format_final_desc_sd' has no default translation in
C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'media_format_gesture_explanation_sd' has no default trans
lation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'media_format_title_sd' has no default translation in C:\A
ndroid\apktool\settings\res; found: ru
aapt: warning: string 'monotype_invalid_font' has no default translation in C:\A
ndroid\apktool\settings\res; found: ru
aapt: warning: string 'monotype_loading_list' has no default translation in C:\A
ndroid\apktool\settings\res; found: ru
aapt: warning: string 'monotype_restart_dialog_button_1' has no default translat
ion in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'monotype_restart_dialog_button_2' has no default translat
ion in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'monotype_restart_dialog_text_1' has no default translatio
n in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'monotype_restart_dialog_text_2' has no default translatio
n in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'motion_summary' has no default translation in C:\Android\
apktool\settings\res; found: ru
aapt: warning: string 'noContacts' has no default translation in C:\Android\apkt
ool\settings\res; found: ru
aapt: warning: string 'no_network_card' has no default translation in C:\Android
\apktool\settings\res; found: ru
aapt: warning: string 'notification_airplane_mode' has no default translation in
C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'notification_sound_summary' has no default translation in
C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'onscreen_keypad' has no default translation in C:\Android
\apktool\settings\res; found: ru
aapt: warning: string 'optical_trackpad_sensivity' has no default translation in
C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'paging_mode_popup_title' has no default translation in C:
\Android\apktool\settings\res; found: ru
aapt: warning: string 'paging_mode_summary' has no default translation in C:\And
roid\apktool\settings\res; found: ru
aapt: warning: string 'paging_mode_title' has no default translation in C:\Andro
id\apktool\settings\res; found: ru
aapt: warning: string 'pen_help_quickcmd_execute_inapp_msg2_new' has no default
translation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'pen_hovering_sound_title' has no default translation in C
:\Android\apktool\settings\res; found: ja ru
aapt: warning: string 'please_wait' has no default translation in C:\Android\apk
tool\settings\res; found: ru
aapt: warning: string 'register_icon' has no default translation in C:\Android\a
pktool\settings\res; found: ru
aapt: warning: string 'register_icon_summary' has no default translation in C:\A
ndroid\apktool\settings\res; found: ru
aapt: warning: string 'register_icon_title' has no default translation in C:\And
roid\apktool\settings\res; found: ru
aapt: warning: string 'register_name' has no default translation in C:\Android\a
pktool\settings\res; found: ru
aapt: warning: string 'register_name_summary' has no default translation in C:\A
ndroid\apktool\settings\res; found: ru
aapt: warning: string 'register_name_title' has no default translation in C:\And
roid\apktool\settings\res; found: ru
aapt: warning: string 'register_network_card_help_title' has no default translat
ion in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'register_network_card_popup_content' has no default trans
lation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'register_network_card_popup_title' has no default transla
tion in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'register_network_card_title' has no default translation i
n C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'ringtone_summary_ds' has no default translation in C:\And
roid\apktool\settings\res; found: ru
aapt: warning: string 's_motion_title' has no default translation in C:\Android\
apktool\settings\res; found: ru
aapt: warning: string 'scloud_disable_wifi_only_body' has no default translation
in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'scloud_disable_wifi_only_title' has no default translatio
n in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'scloud_wifi_only_sync_summary' has no default translation
in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'sd_format_sd' has no default translation in C:\Android\ap
ktool\settings\res; found: ru
aapt: warning: string 'sd_format_summary_sd' has no default translation in C:\An
droid\apktool\settings\res; found: ru
aapt: warning: string 'sdcard_code_size_label' has no default translation in C:\
Android\apktool\settings\res; found: ru
aapt: warning: string 'sdcard_data_size_label' has no default translation in C:\
Android\apktool\settings\res; found: ru
aapt: warning: string 'sdcard_setting_sd' has no default translation in C:\Andro
id\apktool\settings\res; found: ru
aapt: warning: string 'second_lock_text_finger' has no default translation in C:
\Android\apktool\settings\res; found: ru
aapt: warning: string 'select_input_language_title' has no default translation i
n C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'sensitivity' has no default translation in C:\Android\apk
tool\settings\res; found: ru
aapt: warning: string 'setup_wifi_title' has no default translation in C:\Androi
d\apktool\settings\res; found: ru
aapt: warning: string 'sim_card_management_ds' has no default translation in C:\
Android\apktool\settings\res; found: ru
aapt: warning: string 'sim_card_manager_help_switchkey' has no default translati
on in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'sim_name_1' has no default translation in C:\Android\apkt
ool\settings\res; found: ru
aapt: warning: string 'sim_name_2' has no default translation in C:\Android\apkt
ool\settings\res; found: ru
aapt: warning: string 'smart_network' has no default translation in C:\Android\a
pktool\settings\res; found: ru
aapt: warning: string 'smart_network_guide_check' has no default translation in
C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'smart_network_guide_msg' has no default translation in C:
\Android\apktool\settings\res; found: ru
aapt: warning: string 'smart_network_summary' has no default translation in C:\A
ndroid\apktool\settings\res; found: ru
aapt: warning: string 'smart_network_widget_title' has no default translation in
C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'software_version' has no default translation in C:\Androi
d\apktool\settings\res; found: ru
aapt: warning: string 'sound_balance_summary' has no default translation in C:\A
ndroid\apktool\settings\res; found: ru
aapt: warning: string 'sound_category_calls_title' has no default translation in
C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'stms_version' has no default translation in C:\Android\ap
ktool\settings\res; found: ru
aapt: warning: string 'surface_summary' has no default translation in C:\Android
\apktool\settings\res; found: ru
aapt: warning: string 'switching' has no default translation in C:\Android\apkto
ol\settings\res; found: ru
aapt: warning: string 'tap_to_configure' has no default translation in C:\Androi
d\apktool\settings\res; found: ru
aapt: warning: string 'tilt_summary_without_browser' has no default translation
in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'title_text_1' has no default translation in C:\Android\ap
ktool\settings\res; found: ru
aapt: warning: string 'title_text_2' has no default translation in C:\Android\ap
ktool\settings\res; found: ru
aapt: warning: string 'title_text_3' has no default translation in C:\Android\ap
ktool\settings\res; found: ru
aapt: warning: string 'to_enable_air_motion_message' has no default translation
in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'to_enable_motion_message' has no default translation in C
:\Android\apktool\settings\res; found: ru
aapt: warning: string 'to_enable_surface_message' has no default translation in
C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'toggle_airplane_mode_off' has no default translation in C
:\Android\apktool\settings\res; found: ru
aapt: warning: string 'toggle_airplane_mode_on' has no default translation in C:
\Android\apktool\settings\res; found: ru
aapt: warning: string 'torchlight_dialog_message' has no default translation in
C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'torchlight_dialog_title' has no default translation in C:
\Android\apktool\settings\res; found: ru
aapt: warning: string 'torchlight_settings' has no default translation in C:\And
roid\apktool\settings\res; found: ru
aapt: warning: string 'torchlight_settings_title' has no default translation in
C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'torchlight_summary' has no default translation in C:\Andr
oid\apktool\settings\res; found: ru
aapt: warning: string 'torchlight_timeout_summary' has no default translation in
C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'torchlight_timeout_title' has no default translation in C
:\Android\apktool\settings\res; found: ru
aapt: warning: string 'try_air_scroll_title' has no default translation in C:\An
droid\apktool\settings\res; found: ru
aapt: warning: string 'try_and_sensitivity' has no default translation in C:\And
roid\apktool\settings\res; found: ru
aapt: warning: string 'unlock_change_lock_finger_title' has no default translati
on in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'usb_tethering_button_text_vzw' has no default translation
in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'wifi_ap_do_not_show_again' has no default translation in
C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'wifi_ap_instruction_activate_color_hidden' has no default
translation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'wifi_ap_instruction_open_activate_color_hidden' has no de
fault translation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'wifi_ap_mpcs_info' has no default translation in C:\Andro
id\apktool\settings\res; found: ru
aapt: warning: string 'wifi_ap_no_reminder_mpcs_warning' has no default translat
ion in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'wifi_failed_connect_wifi_message' has no default translat
ion in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'wifi_key_management' has no default translation in C:\And
roid\apktool\settings\res; found: ru
aapt: warning: string 'wifi_on_dialog_summary_godiva' has no default translation
in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'wifi_scc_diff_notification_dialog_msg' has no default tra
nslation in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'wifi_scc_diff_notification_title' has no default translat
ion in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'wifi_setup_screentext1_scamera' has no default translatio
n in C:\Android\apktool\settings\res; found: ru
aapt: warning: string 'wifi_tether_dialog_nolte_warning' has no default translat
ion in C:\Android\apktool\settings\res; found: ru
Exception in thread "main" C:\Android\apktool\settings\res\layout-iw\round_more_
icon.xml:2: error: Error: No resource found that matches the given name (at 'src
' with value '@drawable/ic_btn_round_more_isl').
brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.Br
utException: could not exec command: [aapt, p, --min-sdk-version, 16, --target-s
dk-version, 16, -F, C:\Users\Shahar\AppData\Local\Temp\APKTOOL455165436956061339
7.tmp, -I, C:\Users\Shahar\apktool\framework\1.apk, -S, C:\Android\apktool\setti
ngs\res, -M, C:\Android\apktool\settings\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:357)
at brut.androlib.Androlib.buildResources(Androlib.java:282)
at brut.androlib.Androlib.build(Androlib.java:205)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:218)
at brut.apktool.Main.main(Main.java:74)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, C:
\Users\Shahar\AppData\Local\Temp\APKTOOL4551654369560613397.tmp, -I, C:\Users\Sh
ahar\apktool\framework\1.apk, -S, C:\Android\apktool\settings\res, -M, C:\Androi
d\apktool\settings\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:349)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:335)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 16, --target-sdk-version, 16, -F, C:\Users\Shahar\AppData\Local\Temp\
APKTOOL4551654369560613397.tmp, -I, C:\Users\Shahar\apktool\framework\1.apk, -S,
C:\Android\apktool\settings\res, -M, C:\Android\apktool\settings\AndroidManifes
t.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:347)
... 6 more
C:\Android\apktool>
I belive the problem is at the few last lines..
Help please?
hello
I do have the same problem
here is how I do
adb -d pull /system/app/SecSettings.apk
adb -d pull /system/framework/framework-res.apk
adb -d pull /system/framework/twframework-res.apk
java -jar apktool.jar if framework-res.apk
java -jar apktool.jar if twframework-res.apk
java -jar apktool.jar d -s SecSettings.apk
java -jar apktool.jar b SecSettings
and when I recompile that I have the same kind of bugs
Please could you help
deaflink said:
I do have the same problem
here is how I do
adb -d pull /system/app/SecSettings.apk
adb -d pull /system/framework/framework-res.apk
adb -d pull /system/framework/twframework-res.apk
java -jar apktool.jar if framework-res.apk
java -jar apktool.jar if twframework-res.apk
java -jar apktool.jar d -s SecSettings.apk
java -jar apktool.jar b SecSettings
and when I recompile that I have the same kind of bugs
Please could you help
Click to expand...
Click to collapse
Provide the whole error log, It`s very hard to say what you might did wrong without looking at the actual log.
When I tried to do some modding with the the framework-res.apk file I encountered several compiler errors. Normally this was caused by my mistakes meaning that I screwed up somewhere with the code.
So what I'm trying to say is first look at the errors one by one and then try to make a connection to your modifications. Review the code that you changed or that you added. It could very well be that you screwed up somewhere (easy to do). Normally I found the errors within my modifications and could fix them by looking at the compiler errors and afterwards they disappear when trying to compile.
yep, we'd need a log.
From a troubleshooting perspective, there are some easy rules.
1) Forget warnings. They're just warnings.
2) Fix errors in order. Always fix the very first error. Fixing the first error often fixes most (if not all) of the other errors, so never start with error 2.
For example, OP's error was obvious
Code:
Exception in thread "main" C:\Android\apktool\settings\res\layout-iw\round_more_
icon.xml:2: error: Error: No resource found that matches the given name (at 'src
' with value '@drawable/ic_btn_round_more_isl').
OP either added round_more_icon.xml without adding ic_btn_round_more.isl or deleted ic_btn_round_more.isl
Fixing that would have been a good start to his other errors.

[Q] Decompile SystemUI

I am using apktool to make some edits. I am running into errors when recompiling my SystemUI. At this point I am just decompiling then recompiling to see if I can get it to do it. I am on the most recent sdk and thus also the newest aapt. (that for 4.2.2). I also updated my apktool and smali/baksmali (although my previous package worked flawlessly with 4.2.2 on my nexus 7). I am loading my framework-res to system with the "if" command, even tried loading twframework-res there too. I am at a total loss as to what my issue is. How are you devs making edits and recompiling your SystemUI?
Edit: Here is a pastebin of my errors
http://pastebin.com/raw.php?i=gBEhzP63
IM blocked from pastebin
Please just paste errors using Code command.
Sorry, hate cluttering up even my own threads, any way hope you can make sense of it. I get the same errors regardless if framework-res or twframework-res is loaded to system. As you can see at the end it compiles but some of my edits are failing and I figured it was due to these errors in compiling
Code:
C:\Users\Christian\Desktop\apktool1.5.2>apktool d SystemUI.apk
I: Baksmaling...
I: Loading resource table...
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Christian\apktool\framework\1.apk
I: Loaded.
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Done.
I: Copying assets and libs...
C:\Users\Christian\Desktop\apktool1.5.2>apktool b SystemUI
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default tran
slation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default tran
slation in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'abbrev_wday_month_day_year' has no default translation in
C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'am' has no default translation in C:\Users\Christian\Desk
top\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_friday' has no default translation in C:
\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_monday' has no default translation in C:
\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_saturday' has no default translation in
C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_sunday' has no default translation in C:
\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_thursday' has no default translation in
C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_tuesday' has no default translation in C
:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_long_wednesday' has no default translation in
C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_friday' has no default translation in
C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_monday' has no default translation in
C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_saturday' has no default translation i
n C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_sunday' has no default translation in
C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_thursday' has no default translation i
n C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_tuesday' has no default translation in
C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_medium_wednesday' has no default translation
in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_friday' has no default translation in C
:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_monday' has no default translation in C
:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_saturday' has no default translation in
C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_sunday' has no default translation in C
:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_thursday' has no default translation in
C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_tuesday' has no default translation in
C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_short_wednesday' has no default translation i
n C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_friday' has no default translation i
n C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_monday' has no default translation i
n C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_saturday' has no default translation
in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_sunday' has no default translation i
n C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_thursday' has no default translation
in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_tuesday' has no default translation
in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'day_of_week_shortest_wednesday' has no default translatio
n in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'full_wday_month_day_no_year' has no default translation i
n C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_april' has no default translation in C:\Users\
Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_august' has no default translation in C:\Users
\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_december' has no default translation in C:\Use
rs\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_february' has no default translation in C:\Use
rs\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_january' has no default translation in C:\User
s\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_july' has no default translation in C:\Users\C
hristian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_june' has no default translation in C:\Users\C
hristian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_march' has no default translation in C:\Users\
Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_may' has no default translation in C:\Users\Ch
ristian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_november' has no default translation in C:\Use
rs\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_october' has no default translation in C:\User
s\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_september' has no default translation in C:\Us
ers\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_april' has no default translation i
n C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_august' has no default translation
in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_december' has no default translatio
n in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_february' has no default translatio
n in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_january' has no default translation
in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_july' has no default translation in
C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_june' has no default translation in
C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_march' has no default translation i
n C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_may' has no default translation in
C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_november' has no default translatio
n in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_october' has no default translation
in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_long_standalone_september' has no default translati
on in C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_medium_april' has no default translation in C:\User
s\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_medium_august' has no default translation in C:\Use
rs\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_medium_december' has no default translation in C:\U
sers\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_medium_february' has no default translation in C:\U
sers\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_medium_january' has no default translation in C:\Us
ers\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_medium_july' has no default translation in C:\Users
\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_medium_june' has no default translation in C:\Users
\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_medium_march' has no default translation in C:\User
s\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_medium_may' has no default translation in C:\Users\
Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_medium_november' has no default translation in C:\U
sers\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_medium_october' has no default translation in C:\Us
ers\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_medium_september' has no default translation in C:\
Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_april' has no default translation in C:\Us
ers\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_august' has no default translation in C:\U
sers\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_december' has no default translation in C:
\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_february' has no default translation in C:
\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_january' has no default translation in C:\
Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_july' has no default translation in C:\Use
rs\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_june' has no default translation in C:\Use
rs\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_march' has no default translation in C:\Us
ers\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_may' has no default translation in C:\User
s\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_november' has no default translation in C:
\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_october' has no default translation in C:\
Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'month_shortest_september' has no default translation in C
:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'pm' has no default translation in C:\Users\Christian\Desk
top\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'quickpanel_day_month_year' has no default translation in
C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: zh_HK
aapt: warning: string 'quickpanel_month_day_year' has no default translation in
C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: zh_HK
aapt: warning: string 'quickpanel_year_month_day' has no default translation in
C:\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: zh_HK
aapt: warning: string 'today' has no default translation in C:\Users\Christian\D
esktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'tomorrow' has no default translation in C:\Users\Christia
n\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'twelve_hour_time_format' has no default translation in C:
\Users\Christian\Desktop\apktool1.5.2\SystemUI\res; found: mk
aapt: warning: string 'yesterday' has no default translation in C:\Users\Christi
an\Desktop\apktool1.5.2\SystemUI\res; found: mk
I: Building apk file...
C:\Users\Christian\Desktop\apktool1.5.2>
@scrosler not sure if you missed it, got that log posted for you. Thanks for looking into it for me
I'm having similar issues with SystemUI. Same errors (building on Linux), but it builds the APK. However, once I push the APK to /system/app, reboot into recovery and fix permissions, I lose the status bar completely.
I can post a logcat later this evening.
gotroot801 said:
I'm having similar issues with SystemUI. Same errors (building on Linux), but it builds the APK. However, once I push the APK to /system/app, reboot into recovery and fix permissions, I lose the status bar completely.
I can post a logcat later this evening.
Click to expand...
Click to collapse
Yeah, that was my issue. Kinda losing hope of any Devs spotting this and helping.
Sent from my Galaxy S4
You can ignore the warnings.

Recompile the LGSystemUI.apk

When I tried to recompile the LGSystemUI.apk without any changes, it shows the following errors:
(I am using LG G3 and I use apktool to recompile it.)
I: Using Apktool 2.0.0
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
warning: string 'accessibility_automatic_brightness' has no default translation.
warning: string 'accessibility_automatic_brightness_off' has no default translation.
warning: string 'accessibility_automatic_brightness_on' has no default translation.
warning: string 'accessibility_clean_view' has no default translation.
warning: string 'accessibility_dual_window' has no default translation.
warning: string 'accessibility_notification' has no default translation.
warning: string 'accessibility_qmemo' has no default translation.
warning: string 'accessibility_qslide' has no default translation.
warning: string 'accessibility_quick_settings_airplane' has no default translation.
warning: string 'accessibility_quick_settings_bluetooth' has no default translation.
warning: string 'accessibility_sim_switch' has no default translation.
warning: string 'accessibility_volume_at' has no default translation.
warning: string 'accessibility_volume_setting_button' has no default translation.
warning: string 'battery_low_percent_format_toast_NORMAL' has no default translation.
warning: string 'battery_low_percent_toast_NORMAL' has no default translation.
warning: string 'battery_low_subtitle' has no default translation.
warning: string 'battery_low_subtitle2' has no default translation.
warning: string 'battery_low_subtitle2_no_haptic' has no default translation.
warning: string 'battery_low_subtitle2_vzw' has no default translation.
warning: string 'description_target_qmemo' has no default translation.
warning: string 'description_target_qvoice' has no default translation.
warning: string 'done_button' has no default translation.
warning: string 'jelly_bean_dream_name' has no default translation.
warning: string 'keyguard_accessibility_status' has no default translation.
warning: string 'keyguard_password_enter_puk_code' has no default translation.
warning: string 'lockscreen_uim_locked_on_perm' has no default translation.
warning: string 'maximum_windows_att' has no default translation.
warning: string 'maximum_windows_dcm' has no default translation.
warning: string 'miniview_start_exception_msg' has no default translation.
warning: string 'miniview_start_exception_msg_miracast' has no default translation.
warning: string 'multisim_sim_status_perso_locked_NORMAL' has no default translation.
warning: string 'quick_settings_wifi_display_label' has no default translation.
warning: string 'quick_settings_wifi_display_no_connection_label' has no default translation.
warning: string 'sp_Auto_NORMAL' has no default translation.
warning: string 'sp_batteryTitle_chargingstopped_NORMAL' has no default translation.
warning: string 'sp_batteryTitle_hightemp_NORMAL' has no default translation.
warning: string 'sp_battery_removed_Title_NORMAL' has no default translation.
warning: string 'sp_brightness_night_brightness_12' has no default translation.
warning: string 'sp_brightness_night_brightness_24' has no default translation.
warning: string 'sp_charging_stop_text_NORMAL' has no default translation.
warning: string 'sp_charging_stop_title_NORMAL' has no default translation.
warning: string 'sp_charging_text_NORMAL' has no default translation.
warning: string 'sp_charging_title_NORMAL' has no default translation.
warning: string 'sp_cpu_temperature_poweroff_NORMAL' has no default translation.
warning: string 'sp_deactivate_airplane_mode_uim' has no default translation.
warning: string 'sp_defaultNameSIM1_NORMAL' has no default translation.
warning: string 'sp_defaultNameSIM2_NORMAL' has no default translation.
warning: string 'sp_defaultNameSIM3_NORMAL' has no default translation.
warning: string 'sp_defaultNameSlot1_NORMAL' has no default translation.
warning: string 'sp_defaultNameSlot2_NORMAL' has no default translation.
warning: string 'sp_defaultNameSlot3_NORMAL' has no default translation.
warning: string 'sp_defaultNameUIM1_NORMAL' has no default translation.
warning: string 'sp_defaultNameUIM2_NORMAL' has no default translation.
warning: string 'sp_defaultNameUIM3_NORMAL' has no default translation.
warning: string 'sp_fullcharging_body_NORMAL' has no default translation.
warning: string 'sp_fullcharging_title_NORMAL' has no default translation.
warning: string 'sp_incompatiblecharging_alert_body_vzw' has no default translation.
warning: string 'sp_incompatiblecharging_body_vzw_NORMAL' has no default translation.
warning: string 'sp_incompatiblecharging_title_NORMAL' has no default translation.
warning: string 'sp_incompatiblecharging_usb_body_vzw_NORMAL' has no default translation.
warning: string 'sp_invalid_batteryTitle_notice_NORMAL' has no default translation.
warning: string 'sp_missing_uim_message_NORMAL' has no default translation.
warning: string 'sp_no_sim_is_inserted' has no default translation.
warning: string 'sp_no_uim_is_inserted' has no default translation.
warning: string 'sp_open_quickcover_message' has no default translation.
warning: string 'sp_phone_willbe_turned_off_NORMAL' has no default translation.
warning: string 'sp_power_off_low_battery_NORMAL' has no default translation.
warning: string 'sp_power_off_low_battery_text' has no default translation.
warning: string 'sp_sim_status_no_sim_card_NORMAL' has no default translation.
warning: string 'sp_sim_status_pin_locked_NORMAL' has no default translation.
warning: string 'sp_sim_status_puk_locked_NORMAL' has no default translation.
warning: string 'sp_slowcharging_body_vzw_NORMAL' has no default translation.
warning: string 'sp_slowcharging_title_NORMAL' has no default translation.
warning: string 'sp_slowcharging_toast_body_vzw' has no default translation.
warning: string 'sp_temperature_highcharge_NORMAL' has no default translation.
warning: string 'sp_temperature_lowcharge_NORMAL' has no default translation.
warning: string 'sp_temperature_poweroff_NORMAL' has no default translation.
warning: string 'sp_temperature_warning_hightemp_NORMAL' has no default translation.
warning: string 'sp_uim_deactived' has no default translation.
warning: string 'sp_uim_status_no_uim_card_NORMAL' has no default translation.
warning: string 'sp_usb_charging_body_NORMAL' has no default translation.
warning: string 'sp_usb_charging_title_NORMAL' has no default translation.
warning: string 'ssl_ca_cert_dialog_title' has no default translation.
warning: string 'ssl_ca_cert_info_message' has no default translation.
warning: string 'ssl_ca_cert_settings_button' has no default translation.
warning: string 'ssl_ca_cert_warning_message' has no default translation.
warning: string 'temperature_overheating_dlialog_message' has no default translation.
warning: string 'temperature_overheating_noti_message' has no default translation.
warning: string 'temperature_overheating_noti_title' has no default translation.
warning: string 'temperature_overheating_reason_dialog_message' has no default translation.
warning: string 'temperature_overheating_reason_dialog_title' has no default translation.
warning: string 'temperature_overheating_turn_off_dialog_button' has no default translation.
warning: string 'temperature_overheating_turn_off_dialog_message' has no default translation.
warning: string 'temperature_overheating_turn_off_dialog_title' has no default translation.
warning: string 'two_step_wireless_charging' has no default translation.
warning: string 'two_step_wireless_charging_complete' has no default translation.
warning: string 'two_step_wireless_warning' has no default translation.
warning: string 'two_step_wireless_warning_contents_2' has no default translation.
I: Building apk file...
Can anyone tell me how to fix these errors?
Did you solve the problem ? i have got same problem, apk recompiled but not install. (There is a problem parsing the package)
warning: string 'accessibility_automatic_brightness' has no default translation.
warning: string 'accessibility_automatic_brightness_off' has no default translat
ion.
warning: string 'accessibility_automatic_brightness_on' has no default translati
on.
warning: string 'accessibility_clean_view' has no default translation.
warning: string 'accessibility_dual_window' has no default translation.
warning: string 'accessibility_notification' has no default translation.
warning: string 'accessibility_qmemo' has no default translation.
warning: string 'accessibility_qslide' has no default translation.
warning: string 'accessibility_quick_settings_airplane' has no default translati
on.
warning: string 'accessibility_quick_settings_bluetooth' has no default translat
ion.
warning: string 'accessibility_sim_switch' has no default translation.
warning: string 'accessibility_volume_at' has no default translation.
warning: string 'accessibility_volume_setting_button' has no default translation
.
warning: string 'battery_low_percent_format_toast_NORMAL' has no default transla
tion.
warning: string 'battery_low_percent_toast_NORMAL' has no default translation.
warning: string 'battery_low_subtitle' has no default translation.
warning: string 'battery_low_subtitle2' has no default translation.
warning: string 'battery_low_subtitle2_no_haptic' has no default translation.
warning: string 'battery_low_subtitle2_vzw' has no default translation.
warning: string 'description_target_qmemo' has no default translation.
warning: string 'description_target_qvoice' has no default translation.
warning: string 'done_button' has no default translation.
warning: string 'jelly_bean_dream_name' has no default translation.
warning: string 'keyguard_accessibility_status' has no default translation.
warning: string 'keyguard_password_enter_puk_code' has no default translation.
warning: string 'lockscreen_uim_locked_on_perm' has no default translation.
warning: string 'maximum_windows_att' has no default translation.
warning: string 'maximum_windows_dcm' has no default translation.
warning: string 'miniview_start_exception_msg' has no default translation.
warning: string 'miniview_start_exception_msg_miracast' has no default translati
on.
warning: string 'multisim_sim_status_perso_locked_NORMAL' has no default transla
tion.
warning: string 'quick_settings_wifi_display_label' has no default translation.
warning: string 'quick_settings_wifi_display_no_connection_label' has no default
translation.
warning: string 'sp_Auto_NORMAL' has no default translation.
warning: string 'sp_batteryTitle_chargingstopped_NORMAL' has no default translat
ion.
warning: string 'sp_batteryTitle_hightemp_NORMAL' has no default translation.
warning: string 'sp_battery_removed_Title_NORMAL' has no default translation.
warning: string 'sp_brightness_night_brightness_12' has no default translation.
warning: string 'sp_brightness_night_brightness_24' has no default translation.
warning: string 'sp_charging_stop_text_NORMAL' has no default translation.
warning: string 'sp_charging_stop_title_NORMAL' has no default translation.
warning: string 'sp_charging_text_NORMAL' has no default translation.
warning: string 'sp_charging_title_NORMAL' has no default translation.
warning: string 'sp_cpu_temperature_poweroff_NORMAL' has no default translation.
warning: string 'sp_deactivate_airplane_mode_uim' has no default translation.
warning: string 'sp_defaultNameSIM1_NORMAL' has no default translation.
warning: string 'sp_defaultNameSIM2_NORMAL' has no default translation.
warning: string 'sp_defaultNameSIM3_NORMAL' has no default translation.
warning: string 'sp_defaultNameSlot1_NORMAL' has no default translation.
warning: string 'sp_defaultNameSlot2_NORMAL' has no default translation.
warning: string 'sp_defaultNameSlot3_NORMAL' has no default translation.
warning: string 'sp_defaultNameUIM1_NORMAL' has no default translation.
warning: string 'sp_defaultNameUIM2_NORMAL' has no default translation.
warning: string 'sp_defaultNameUIM3_NORMAL' has no default translation.
warning: string 'sp_fullcharging_body_NORMAL' has no default translation.
warning: string 'sp_fullcharging_title_NORMAL' has no default translation.
warning: string 'sp_incompatiblecharging_alert_body_vzw' has no default translat
ion.
warning: string 'sp_incompatiblecharging_body_vzw_NORMAL' has no default transla
tion.
warning: string 'sp_incompatiblecharging_title_NORMAL' has no default translatio
n.
warning: string 'sp_incompatiblecharging_usb_body_vzw_NORMAL' has no default tra
nslation.
warning: string 'sp_invalid_batteryTitle_notice_NORMAL' has no default translati
on.
warning: string 'sp_missing_uim_message_NORMAL' has no default translation.
warning: string 'sp_no_sim_is_inserted' has no default translation.
warning: string 'sp_no_uim_is_inserted' has no default translation.
warning: string 'sp_open_quickcover_message' has no default translation.
warning: string 'sp_phone_willbe_turned_off_NORMAL' has no default translation.
warning: string 'sp_power_off_low_battery_NORMAL' has no default translation.
warning: string 'sp_power_off_low_battery_text' has no default translation.
warning: string 'sp_sim_status_no_sim_card_NORMAL' has no default translation.
warning: string 'sp_sim_status_pin_locked_NORMAL' has no default translation.
warning: string 'sp_sim_status_puk_locked_NORMAL' has no default translation.
warning: string 'sp_slowcharging_body_vzw_NORMAL' has no default translation.
warning: string 'sp_slowcharging_title_NORMAL' has no default translation.
warning: string 'sp_slowcharging_toast_body_vzw' has no default translation.
warning: string 'sp_temperature_highcharge_NORMAL' has no default translation.
warning: string 'sp_temperature_lowcharge_NORMAL' has no default translation.
warning: string 'sp_temperature_poweroff_NORMAL' has no default translation.
warning: string 'sp_temperature_warning_hightemp_NORMAL' has no default translat
ion.
warning: string 'sp_uim_deactived' has no default translation.
warning: string 'sp_uim_status_no_uim_card_NORMAL' has no default translation.
warning: string 'sp_usb_charging_body_NORMAL' has no default translation.
warning: string 'sp_usb_charging_title_NORMAL' has no default translation.
warning: string 'ssl_ca_cert_dialog_title' has no default translation.
warning: string 'ssl_ca_cert_info_message' has no default translation.
warning: string 'ssl_ca_cert_settings_button' has no default translation.
warning: string 'ssl_ca_cert_warning_message' has no default translation.
warning: string 'temperature_overheating_dlialog_message' has no default transla
tion.
warning: string 'temperature_overheating_noti_message' has no default translatio
n.
warning: string 'temperature_overheating_noti_title' has no default translation.
warning: string 'temperature_overheating_reason_dialog_message' has no default t
ranslation.
warning: string 'temperature_overheating_reason_dialog_title' has no default tra
nslation.
warning: string 'temperature_overheating_turn_off_dialog_button' has no default
translation.
warning: string 'temperature_overheating_turn_off_dialog_message' has no default
translation.
warning: string 'temperature_overheating_turn_off_dialog_title' has no default t
ranslation.
warning: string 'two_step_wireless_charging' has no default translation.
warning: string 'two_step_wireless_charging_complete' has no default translation
.
warning: string 'two_step_wireless_warning' has no default translation.
warning: string 'two_step_wireless_warning_contents_2' has no default translatio
n.
I: Building apk file...

[Solved] [Q] Can't Recompile My Stock Settings.apk

Someone Please Help me, I Can't Compile my Settings.apk
Rom: Deodex Stock Rom
Android Version: KK (4.4.2)
Here Log:
Log For : Settings.apk
Log Type : Recompiling
Log Recorded At : Tue 30-06-2015 5:22:09.34
Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak
------------------------------------------------------
warning: string 'AGPS_CAUSE_BAD_PUSH_CONTENT' has no default translation.
warning: string 'AGPS_CAUSE_NETWORK_CREATE_FAIL' has no default translation.
warning: string 'AGPS_CAUSE_NETWORK_DISCONN' has no default translation.
warning: string 'AGPS_CAUSE_NOT_SUPPORTED' has no default translation.
warning: string 'AGPS_CAUSE_NO_POSITION' has no default translation.
warning: string 'AGPS_CAUSE_NO_RESOURCE' has no default translation.
warning: string 'AGPS_CAUSE_REMOTE_ABORT' has no default translation.
warning: string 'AGPS_CAUSE_REMOTE_MSG_ERROR' has no default translation.
warning: string 'AGPS_CAUSE_REQ_NOT_ACCEPTED' has no default translation.
warning: string 'AGPS_CAUSE_TIMER_EXPIRY' has no default translation.
warning: string 'AGPS_CAUSE_TLS_AUTH_FAIL' has no default translation.
warning: string 'AGPS_CAUSE_USER_AGREE' has no default translation.
warning: string 'AGPS_CAUSE_USER_DENY' has no default translation.
warning: string 'AGPS_EM_POS_FIXED' has no default translation.
warning: string 'AGPS_EM_RECV_SI_REQ' has no default translation.
warning: string 'AgpsHelp_Category' has no default translation.
warning: string 'EM_NotifyDialog_title' has no default translation.
warning: string 'MobileNetwork_Category' has no default translation.
warning: string 'MobileNetwork_DataConn_off' has no default translation.
warning: string 'MobileNetwork_SIM_Active' has no default translation.
warning: string 'MobileNetwork_off_Summary' has no default translation.
warning: string 'MobileNetwork_on_Summary' has no default translation.
warning: string 'Network_Initiate' has no default translation.
warning: string 'Network_Initiate_Summary_off' has no default translation.
warning: string 'Network_Initiate_Summary_on' has no default translation.
warning: string 'Network_Local_and_Roaming_Summary' has no default translation.
warning: string 'Network_Only_Local_Summary' has no default translation.
warning: string 'Network_Roaming_dialog_content' has no default translation.
warning: string 'Network_Roaming_dialog_title' has no default translation.
warning: string 'Network_Used' has no default translation.
warning: string 'USER_RESPONSE_TIMEOUT' has no default translation.
warning: string 'WiFiNetwork_on_title' has no default translation.
warning: string 'about_agps_message' has no default translation.
warning: string 'about_agps_title' has no default translation.
warning: string 'accessibility_long_press_timeout_title' has no default translation.
warning: string 'accessibility_power_button_ends_call_title' has no default translation.
warning: string 'accessibility_script_injection_title' has no default translation.
warning: string 'accessibility_service_state_off' has no default translation.
warning: string 'accessibility_service_state_on' has no default translation.
warning: string 'accessibility_speak_password_title' has no default translation.
warning: string 'accessibility_toggle_large_text_title' has no default translation.
warning: string 'agps_disable_on_reboot' has no default translation.
warning: string 'agps_disable_on_reboot_summary' has no default translation.
warning: string 'agps_enable_confirm' has no default translation.
warning: string 'agps_enable_confirm_allow' has no default translation.
warning: string 'agps_enable_confirm_deny' has no default translation.
warning: string 'agps_enable_confirm_title' has no default translation.
warning: string 'agps_profile_SLP_address_editbox_title' has no default translation.
warning: string 'agps_profile_select' has no default translation.
warning: string 'agps_settings_enable_off' has no default translation.
warning: string 'agps_settings_enable_on' has no default translation.
warning: string 'agps_settings_eng_enable' has no default translation.
warning: string 'agps_settings_eng_summary' has no default translation.
warning: string 'agps_settings_title' has no default translation.
warning: string 'agps_str_error' has no default translation.
warning: string 'bluetooth_not_discoverable' has no default translation.
warning: string 'bluetooth_visibility' has no default translation.
warning: string 'bluetooth_visibility_timeout_summary' has no default translation.
warning: string 'bugreport_message' has no default translation.
warning: string 'bugreport_title' has no default translation.
warning: string 'cell_broadcast_settings_summary' has no default translation.
warning: string 'confirm_title' has no default translation.
warning: string 'date_time_12_hour_sample' has no default translation.
warning: string 'date_time_24_hour_sample' has no default translation.
warning: string 'epo_about_message' has no default translation.
warning: string 'epo_about_title' has no default translation.
warning: string 'epo_auto_download_summary' has no default translation.
warning: string 'epo_auto_download_title' has no default translation.
warning: string 'epo_cancel_download' has no default translation.
warning: string 'epo_download' has no default translation.
warning: string 'epo_download_time_summary' has no default translation.
warning: string 'epo_download_time_title' has no default translation.
warning: string 'epo_enable_confirm_allow' has no default translation.
warning: string 'epo_enable_confirm_deny' has no default translation.
warning: string 'epo_enable_confirm_message' has no default translation.
warning: string 'epo_enable_confirm_title' has no default translation.
warning: string 'epo_enable_summary' has no default translation.
warning: string 'epo_enable_title' has no default translation.
warning: string 'epo_entrance_summary' has no default translation.
warning: string 'epo_entrance_title' has no default translation.
warning: string 'epo_err_update_failed' has no default translation.
warning: string 'epo_error_dialog_title' has no default translation.
warning: string 'epo_error_no_activite_network' has no default translation.
warning: string 'epo_expire_time_summary' has no default translation.
warning: string 'epo_expire_time_title' has no default translation.
warning: string 'epo_info_title' has no default translation.
warning: string 'epo_ok_btn' has no default translation.
warning: string 'epo_start_time_summary' has no default translation.
warning: string 'epo_start_time_title' has no default translation.
warning: string 'epo_status_starting' has no default translation.
warning: string 'epo_status_stopping' has no default translation.
warning: string 'epo_warning_dialog_message' has no default translation.
warning: string 'epo_warning_dialog_title' has no default translation.
warning: string 'experimental_webview' has no default translation.
warning: string 'experimental_webview_summary' has no default translation.
warning: string 'gadget_gps' has no default translation.
warning: string 'lock_intro_message' has no default translation.
warning: string 'lock_title' has no default translation.
warning: string 'next_button_label' has no default translation.
warning: string 'port_title' has no default translation.
warning: string 'read_only' has no default translation.
warning: string 'report' has no default translation.
warning: string 'screensaver_activate_on_dock_title' has no default translation.
warning: string 'screensaver_component_title' has no default translation.
warning: string 'screensaver_settings_summary_on' has no default translation.
warning: string 'screensaver_test' has no default translation.
warning: string 'screensaver_timeout_summary' has no default translation.
warning: string 'screensaver_timeout_title' has no default translation.
warning: string 'screensaver_timeout_zero_summary' has no default translation.
warning: string 'show_dev_countdown' has no default translation.
warning: string 'show_hw_overdraw' has no default translation.
warning: string 'show_hw_overdraw_summary' has no default translation.
warning: string 'show_password_summary' has no default translation.
warning: string 'skip_button_label' has no default translation.
warning: string 'tls_summary_off' has no default translation.
warning: string 'tls_summary_on' has no default translation.
warning: string 'user_details_title' has no default translation.
warning: string 'user_dict_multiple_settings_title' has no default translation.
warning: string 'user_dict_settings_titlebar' has no default translation.
warning: string 'user_discard_user_menu' has no default translation.
warning: string 'user_information_heading' has no default translation.
warning: string 'user_market_apps_heading' has no default translation.
warning: string 'user_market_requires_pin' has no default translation.
warning: string 'user_max_content_rating' has no default translation.
warning: string 'user_name_title' has no default translation.
warning: string 'user_restrictions_heading' has no default translation.
warning: string 'user_system_apps_heading' has no default translation.
warning: string 'wifi_display_available_devices' has no default translation.
warning: string 'wifi_display_disconnect_text' has no default translation.
warning: string 'wifi_display_disconnect_title' has no default translation.
warning: string 'wifi_display_paired_devices' has no default translation.
warning: string 'wifi_display_search_for_devices' has no default translation.
warning: string 'wifi_display_searching_for_devices' has no default translation.
warning: string 'wifi_display_settings_empty_list_wifi_display_disabled' has no default translation.
warning: string 'wifi_display_settings_empty_list_wifi_display_off' has no default translation.
warning: string 'wifi_display_status_available' has no default translation.
warning: string 'wifi_display_summary_disabled' has no default translation.
warning: string 'wifi_display_summary_off' has no default translation.
warning: string 'wifi_display_summary_on' has no default translation.
warning: string 'wimax_settings_summary' has no default translation.
C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\res\layout\preference_header_switch_item.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@com.mediatek:style/ImageSwitch').
C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\res\layout\preference_nfc.xml:11: error: Error: No resource found that matches the given name (at 'style' with value '@com.mediatek:style/ImageSwitch').
C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\res\layout\preference_sim_info.xml:13: error: Error: No resource found that matches the given name (at 'style' with value '@com.mediatek:style/ImageSwitch').
C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\res\layout\preference_sim_info_enabler.xml:15: error: Error: No resource found that matches the given name (at 'style' with value '@com.mediatek:style/ImageSwitch').
C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\res\layout\sim_widget_view.xml:5: error: Error: No resource found that matches the given name (at 'style' with value '@com.mediatek:style/ImageSwitch').
C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\res\layout\wifi_switch_for_oobe.xml:7: error: Error: No resource found that matches the given name (at 'style' with value '@com.mediatek:style/ImageSwitch').
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\Zidni\AppData\Local\Temp\brut_util_Jar_7373244141138405014.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-eng..1407727343, -F, C:\Users\Zidni\AppData\Local\Temp\APKTOOL6652829897396485832.tmp, -0, arsc, -I, C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\res, -M, C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:437)
at brut.androlib.Androlib.buildResources(Androlib.java:374)
at brut.androlib.Androlib.build(Androlib.java:277)
at brut.androlib.Androlib.build(Androlib.java:250)
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\Zidni\AppData\Local\Temp\brut_util_Jar_7373244141138405014.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-eng..1407727343, -F, C:\Users\Zidni\AppData\Local\Temp\APKTOOL6652829897396485832.tmp, -0, arsc, -I, C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\res, -M, C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:488)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:423)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Zidni\AppData\Local\Temp\brut_util_Jar_7373244141138405014.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-eng..1407727343, -F, C:\Users\Zidni\AppData\Local\Temp\APKTOOL6652829897396485832.tmp, -0, arsc, -I, C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -S, C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\res, -M, C:\Users\Zidni\Desktop\all working rom\framework editing\Advanced+ApkTool+v4.1.0+By+BDFreak\AdvancedApkTool\3-Out\Settings.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:482)
... 6 more
------------------------------------------------------
Click to expand...
Click to collapse
Don't Avoid it.
Please Help Me

Issues building AOSP

I am new to rom development and am having an issue getting AOSP to build. I haven't started customizing yet becuase I wanted to build stock first. When I try to build on Ubuntu 16.04 I get this error:
[ 35% 15169/42494] target R.java/Manif...S/Bluetooth_intermediates/src/R.stamp)
warning: string 'map_acceptance_timeout_message' has no default translation.
warning: string 'map_auth_notif_message' has no default translation.
warning: string 'map_auth_notif_ticker' has no default translation.
warning: string 'map_auth_notif_title' has no default translation.
warning: string 'map_authentication_timeout_message' has no default translation.
warning: string 'map_defaultname' has no default translation.
warning: string 'map_defaultnumber' has no default translation.
warning: string 'map_localPhoneName' has no default translation.
warning: string 'map_session_key_dialog_header' has no default translation.
warning: string 'map_session_key_dialog_title' has no default translation.
warning: string 'map_unknownName' has no default translation.
[ 35% 15169/42494] host SharedLib: lib...out/host/linux-x86/obj/lib/libartd.so)
ninja: build stopped: subcommand failed.
build/core/ninja.mk:148: recipe for target 'ninja_wrapper' failed
make: *** [ninja_wrapper] Error 1
#### make failed to build some targets (49:22 (mm:ss)) ####
Any ideas?

Categories

Resources