I'm trying to compile back this apk (not a system file), with "APK-Multi-Tool" (apktool based), worked for several apps but for this specific app I get the following errors, I tried compiling it back without changing anything, still get same errors, any help please
following is the from the error log:
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-v17\calendars_dropdown_item.xml:5: error: No resource identifier found for attribute 'layout_toEndOf' in package 'android'
C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-v17\calendars_dropdown_item.xml:6: error: No resource identifier found for attribute 'layout_alignStart' in package 'android'
C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout\info_layout_molad_rtl.xml:2: error: Error: Integer types not allowed (at 'layoutDirection' with value '0').
C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land\main_activity.xml:4: error: No resource identifier found for attribute 'layout_alignParentStart' in package 'android'
C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land\main_activity.xml:5: error: No resource identifier found for attribute 'layout_toStartOf' in package 'android'
C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land\main_activity.xml:5: error: No resource identifier found for attribute 'layout_toEndOf' in package 'android'
C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land\main_activity.xml:6: error: No resource identifier found for attribute 'layout_alignParentEnd' in package 'android'
C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land-v17\main_activity.xml:4: error: No resource identifier found for attribute 'layout_alignParentStart' in package 'android'
C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land-v17\main_activity.xml:5: error: No resource identifier found for attribute 'layout_toStartOf' in package 'android'
C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land-v17\main_activity.xml:5: error: No resource identifier found for attribute 'layout_toEndOf' in package 'android'
C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-land-v17\main_activity.xml:6: error: No resource identifier found for attribute 'layout_alignParentEnd' in package 'android'
C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout\month_fragment.xml:4: error: Error: Integer types not allowed (at 'layoutDirection' with value '0').
C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-iw\zmanim_tablerow_one.xml:2: error: Error: Integer types not allowed (at 'layoutDirection' with value '0').
C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\layout-iw\zmanim_tablerow_two.xml:2: error: Error: Integer types not allowed (at 'layoutDirection' with value '0').
C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res\drawable\menu_tab_land_indicator_holo.xml:2: error: No resource identifier found for attribute 'autoMirrored' in package 'android'
aapt: warning: string 'accessibility_email_notification' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'accounts' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'acct_not_synced' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'acessibility_cal_notification' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'acessibility_snooze_notification' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'alert_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'app_label' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'auth_client_needs_enabling_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'auth_client_needs_installation_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'auth_client_needs_update_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'auth_client_play_services_err_notification_msg' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'auth_client_requested_by_msg' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'auth_client_using_bad_version_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: af am ar be bg ca cs da de el en_GB en_IN es es_US et_EE fa fi fr fr_CA hi hr hu hy_AM in it iw ja ka_GE km_KH ko lo_LA lt lv mn_MN ms_MY nb nl pl pt pt_BR pt_PT ro ru sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'calendar_refresh' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'copy_db' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'create_an_account_desc' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'day_view' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'dismiss_all_label' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'do_not_check' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'event_not_found' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'gadget_no_events' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'gadget_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'hide_controls' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'menu_about_preferences' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'menu_general_preferences' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'menu_select_visible_calendars' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'month_view' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'no_calendars_found' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'not_synced' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'preferences_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'quick_response_dialog_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'quick_response_settings_edit_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'quick_response_settings_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'search' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'search_history_cleared' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'select_synced_calendars_button' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'select_synced_calendars_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'select_visible_calendars_title' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'show_controls' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'snooze_all_label' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'snooze_label' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'synced' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
aapt: warning: string 'week_view' has no default translation in C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res; found: fr
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 19, -F, C:\Users\Ephraim\AppData\Local\Temp\APKTOOL8386701355830938741.tmp, -0, arsc, -I, C:\Users\Ephraim\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res, -M, C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:353)
at brut.androlib.Androlib.buildResources(Androlib.java:281)
at brut.androlib.Androlib.build(Androlib.java:209)
at brut.androlib.Androlib.build(Androlib.java:177)
at brut.apktool.Main.cmdBuild(Main.java:237)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 19, -F, C:\Users\Ephraim\AppData\Local\Temp\APKTOOL8386701355830938741.tmp, -0, arsc, -I, C:\Users\Ephraim\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res, -M, C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:406)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:334)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sdk-version, 8, --target-sdk-version, 19, -F, C:\Users\Ephraim\AppData\Local\Temp\APKTOOL8386701355830938741.tmp, -0, arsc, -I, C:\Users\Ephraim\apktool\framework\1.apk, -S, C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\res, -M, C:\APK-Multi-Tool-Stable-RELEASE\projects\HebDate_3.66.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:404)
... 6 more
Perhaps you can find help in this thread on that tool,
http://forum.xda-developers.com/showthread.php?t=1310151
Good luck!
Related
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.
Hello all dear
I need your help, to recompile secsettings tells me this:
Code:
aapt: warning: string 'allshare_device_name_slash' has no default translation in
C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'allshare_restart_file_sharing_q' has no default translati
on in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'auto_power_off_entry_one_hour' has no default translation
in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'automatic_receive_call' has no default translation in C:\
Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'automatic_receive_call_summary' has no default translatio
n in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'automatic_unlock' has no default translation in C:\Users\
Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'automatic_unlock_summary' has no default translation in C
:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'bluetooth_tethering_cannot_connect_while_connected_to_wif
i' has no default translation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\S
ecSettings\res; found: ru
aapt: warning: string 'content_text_1' has no default translation in C:\Users\Je
sus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'content_text_2' has no default translation in C:\Users\Je
sus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'content_text_3' has no default translation in C:\Users\Je
sus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'cover' has no default translation in C:\Users\Jesus\Deskt
op\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'crypt_keeper_desc_alarm' has no default translation in C:
\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'customizedkey_assign_btn_text' has no default translation
in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'customizedkey_assign_shortcut' has no default translation
in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'customizedkey_assign_summary' has no default translation
in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'customizedkey_assign_summary2' has no default translation
in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'customizedkey_assign_toast' has no default translation in
C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'customizedkey_reset_toast' has no default translation in
C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'customizedkey_settings_title' has no default translation
in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'data_roaming_setting' has no default translation in C:\Us
ers\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'data_roaming_setting_disable_toast' has no default transl
ation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: r
u
aapt: warning: string 'data_roaming_setting_enable_toast' has no default transla
tion in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'data_roaming_setting_text' has no default translation in
C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'data_service_network' has no default translation in C:\Us
ers\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'data_service_network_changed_to_ps' has no default transl
ation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: r
u
aapt: warning: string 'data_service_network_summary' has no default translation
in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'data_usage_disable_mobile_vzw_1' has no default translati
on in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'data_usage_disable_mobile_vzw_2' has no default translati
on in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'desk_cradle_enable_popup_summary' has no default translat
ion in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'desk_cradle_enable_popup_title' has no default translatio
n in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ja ru
aapt: warning: string 'disconnect_network_message' has no default translation in
C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'disconnect_network_title' has no default translation in C
:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'done' has no default translation in C:\Users\Jesus\Deskto
p\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'dormant_mode_help_nocall' has no default translation in C
:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'download' has no default translation in C:\Users\Jesus\De
sktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'download_cancel' has no default translation in C:\Users\J
esus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'download_fail' has no default translation in C:\Users\Jes
us\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'download_success' has no default translation in C:\Users\
Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'dsa_do_not_show_again' has no default translation in C:\U
sers\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'dsa_dual_sim_always_on' has no default translation in C:\
Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'dsa_dual_sim_always_on_summary' has no default translatio
n in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'dsa_enable_dual_sim_always_on' has no default translation
in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'dsa_help_msg_1' has no default translation in C:\Users\Je
sus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'dsa_help_msg_2' has no default translation in C:\Users\Je
sus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'dsa_help_msg_3' has no default translation in C:\Users\Je
sus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'dsa_help_msg_4' has no default translation in C:\Users\Je
sus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'dsa_help_msg_5' has no default translation in C:\Users\Je
sus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'dsa_init_inform' has no default translation in C:\Users\J
esus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'dsa_init_inform_not_initial' has no default translation i
n C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'erase_external_storage_description_sd' has no default tra
nslation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found
: ru
aapt: warning: string 'erase_external_storage_sd' has no default translation in
C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'fail' has no default translation in C:\Users\Jesus\Deskto
p\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'favorite_notification_title' has no default translation i
n C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'finger_air_view_full_text_summary' has no default transla
tion in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'finger_air_view_full_text_title' has no default translati
on in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'finger_air_view_highlight_summary' has no default transla
tion in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'finger_air_view_highlight_title' has no default translati
on in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'finger_air_view_information_preview_summary' has no defau
lt translation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res;
found: ru
aapt: warning: string 'finger_air_view_information_preview_title' has no default
translation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; f
ound: ru
aapt: warning: string 'finger_air_view_magnifier_summary' has no default transla
tion in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'finger_air_view_magnifier_title' has no default translati
on in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'finger_air_view_show_up_indicator_summary' has no default
translation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; f
ound: ru
aapt: warning: string 'finger_air_view_show_up_indicator_title' has no default t
ranslation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; fou
nd: ru
aapt: warning: string 'finger_air_view_title' has no default translation in C:\U
sers\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'flight_mode_enabled_toast' has no default translation in
C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'glance_view_notification' has no default translation in C
:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'glance_view_setting_guide_content' has no default transla
tion in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'glance_view_setting_title' has no default translation in
C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'glance_view_unread_message' has no default translation in
C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'global_roaming_country_update_not_available' has no defau
lt translation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res;
found: ru
aapt: warning: string 'information_ticker_only_weibo_summary' has no default tra
nslation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found
: ru
aapt: warning: string 'installed_variant_default' has no default translation in
C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'installed_variant_version' has no default translation in
C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'label_settings' has no default translation in C:\Users\Je
sus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'learn_about_air_clip_content' has no default translation
in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'learn_about_air_glance_view_content' has no default trans
lation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found:
ru
aapt: warning: string 'learn_about_air_item_move_content' has no default transla
tion in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'learn_about_air_motion_indicator' has no default translat
ion in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'learn_about_air_motion_indicator_content' has no default
translation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; fo
und: ru
aapt: warning: string 'learn_about_air_scroll_content' has no default translatio
n in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'learn_about_air_turn' has no default translation in C:\Us
ers\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'learn_about_air_turn_content' has no default translation
in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'learn_about_call_accept_content' has no default translati
on in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'lgt_service_global_auto_roaming_call_customcenter_summary
_nocall' has no default translation in C:\Users\Jesus\Desktop\Nuevo proyecto\apk
tool\SecSettings\res; found: ru
aapt: warning: string 'lock_screen_options_summary_kor' has no default translati
on in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'lock_screen_options_summary_no_ticker' has no default tra
nslation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found
: ru
aapt: warning: string 'lockfinger_change_finger_unlock_title' has no default tra
nslation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found
: ru
aapt: warning: string 'lockfinger_dbadmin_failure_default_toast' has no default
translation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; fo
und: ru
aapt: warning: string 'lockfinger_dbadmin_title' has no default translation in C
:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'lockfinger_enrollment_canceled_toast' has no default tran
slation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found:
ru
aapt: warning: string 'lockfinger_enrollment_database_full' has no default trans
lation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found:
ru
aapt: warning: string 'lockfinger_enrollment_failure_default_toast' has no defau
lt translation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res;
found: ru
aapt: warning: string 'lockfinger_enrollment_succeeded_toast' has no default tra
nslation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found
: ru
aapt: warning: string 'lockfinger_enrollment_timeout_toast' has no default trans
lation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found:
ru
aapt: warning: string 'lockfinger_enrollment_unknown_error_toast' has no default
translation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; f
ound: ru
aapt: warning: string 'lockfinger_finger_settings_title' has no default translat
ion in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'lockfinger_lockout_countdown_footer' has no default trans
lation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found:
ru
aapt: warning: string 'lockfinger_semaphore_failure_toast' has no default transl
ation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: r
u
aapt: warning: string 'lockfinger_set_finger_unlock_title' has no default transl
ation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: r
u
aapt: warning: string 'lockfinger_toggle_unlock_finger_summary' has no default t
ranslation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; fou
nd: ru
aapt: warning: string 'lockfinger_toggle_unlock_finger_title' has no default tra
nslation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found
: ru
aapt: warning: string 'lockfinger_too_many_bad_swipes_header' has no default tra
nslation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found
: ru
aapt: warning: string 'lockfinger_tsm_library_not_available_toast' has no defaul
t translation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res;
found: ru
aapt: warning: string 'lockfinger_ui_timeout_header' has no default translation
in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'lockfinger_unlock_disable_lock_finger_summary' has no def
ault translation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\re
s; found: ru
aapt: warning: string 'lockfinger_unlock_fingerprint_shortcut_summary' has no de
fault translation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\r
es; found: ru
aapt: warning: string 'lockfinger_unlock_set_unlock_finger_summary' has no defau
lt translation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res;
found: ru
aapt: warning: string 'lockfinger_unlock_set_unlock_finger_title' has no default
translation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; f
ound: ru
aapt: warning: string 'lockfinger_unlock_set_unlock_launch_picker_change_summary
' has no default translation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\Se
cSettings\res; found: ru
aapt: warning: string 'lockfinger_unlock_set_unlock_launch_picker_summary' has n
o default translation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettin
gs\res; found: ru
aapt: warning: string 'lockpassword_finger_set_toast' has no default translation
in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'lockpattern_change_lock_finger_label' has no default tran
slation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found:
ru
aapt: warning: string 'loss_prevention_alert_Popup_msg' has no default translati
on in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'loss_prevention_alert_Popup_title' has no default transla
tion in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'media_format_button_text_sd' has no default translation i
n C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'media_format_desc_sd' has no default translation in C:\Us
ers\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'media_format_final_desc_sd' has no default translation in
C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'media_format_gesture_explanation_sd' has no default trans
lation in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found:
ru
aapt: warning: string 'media_format_title_sd' has no default translation in C:\U
sers\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'monotype_invalid_font' has no default translation in C:\U
sers\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'monotype_loading_list' has no default translation in C:\U
sers\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'monotype_restart_dialog_button_1' has no default translat
ion in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'monotype_restart_dialog_button_2' has no default translat
ion in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'monotype_restart_dialog_text_1' has no default translatio
n in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'monotype_restart_dialog_text_2' has no default translatio
n in C:\Users\Jesus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'motion_summary' has no default translation in C:\Users\Je
sus\Desktop\Nuevo proyecto\apktool\SecSettings\res; found: ru
aapt: warning: string 'noContacts' has no default translat
what is wrong? and put in the folder apktool the framework-res.apk, twframework-res.apk. (with the command apktool if)
please help.
Sorry for my bad english
Have you got the latest aapt? The aapt packaged with apk tool doesn't work properly and needs manually updating.
rootSU said:
Have you got the latest aapt? The aapt packaged with apk tool doesn't work properly and needs manually updating.
Click to expand...
Click to collapse
Where would you recommend picking up an updated aapt? Or what would be the best way to manually update it?
Nevermind: I got it to work finally. My issue was that I didn't realize I had to have the framework-res.apk installed in the apktool folder.
I am unable to compile Settings.apk
Please Help
I will explain the details
Got Settings.apk and framework-res.apk from ROM
Placed them in APKTool Directory.
Opened CMD in APKTool Directory
Typed "apktool if framework-res.apk" and press enter
C:\Users\Laura\Desktop\Apk Tool>apktool d settings.apk
I: Baksmaling...
I: Loading resource table...
W: Skipping "android" package group
I: Loaded.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Laura\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...
Click to expand...
Click to collapse
After that i tried to compile it without making any changes
C:\Users\Laura\Desktop\Apk Tool>apktool b settings
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
C:\Users\Laura\Desktop\Apk Tool\settings\AndroidManifest.xml:73: error: No reso
urce identifier found for attribute 'requiredForAllUsers' in package 'android'
aapt: warning: string 'category_printers' has no default translation in C:\Users
\Laura\Desktop\Apk Tool\settings\res; found: az_AZ ne_NP si_LK
aapt: warning: string 'cell_broadcast_settings_summary' has no default translati
on in C:\Users\Laura\Desktop\Apk Tool\settings\res; found: az az_AZ et hy ka km
lo mn ms ne ne_NP si si_LK
aapt: warning: string 'experimental_webview' has no default translation in C:\Us
ers\Laura\Desktop\Apk Tool\settings\res; found: af am ar az az_AZ be bg ca cs d
a de el en_GB en_IN es es_US et et_EE fa fi fr fr_CA hi hr hu hy hy_AM in it iw
ja ka ka_GE km km_KH ko lo lo_LA lt lv mn mn_MN ms ms_MY nb ne ne_NP nl pl pt pt
_PT ro ru si si_LK sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'experimental_webview_summary' has no default translation
in C:\Users\Laura\Desktop\Apk Tool\settings\res; found: af am ar az az_AZ be bg
ca cs da de el en_GB en_IN es es_US et et_EE fa fi fr fr_CA hi hr hu hy hy_AM i
n it iw ja ka ka_GE km km_KH ko lo lo_LA lt lv mn mn_MN ms ms_MY nb ne ne_NP nl
pl pt pt_PT ro ru si si_LK sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'location_category_app_settings' has no default translatio
n in C:\Users\Laura\Desktop\Apk Tool\settings\res; found: az_AZ ne_NP si_LK
aapt: warning: string 'low_battery_warning_policy_notification' has no default t
ranslation in C:\Users\Laura\Desktop\Apk Tool\settings\res; found: es
aapt: warning: string 'nfc_payment_ask' has no default translation in C:\Users\S
hafal\Desktop\Apk Tool\settings\res; found: az az_AZ et hy ka km lo mn ms ne ne_
NP si si_LK
aapt: warning: string 'print_services_title' has no default translation in C:\Us
ers\Laura\Desktop\Apk Tool\settings\res; found: az et hy ka km lo mn ms ne si
aapt: warning: string 'process_stats_ram_use' has no default translation in C:\U
sers\Laura\Desktop\Apk Tool\settings\res; found: az_AZ ne_NP si_LK
aapt: warning: string 'wimax_settings_summary' has no default translation in C:\
Users\Laura\Desktop\Apk Tool\settings\res; found: az az_AZ et hy ka km lo mn ms
ne ne_NP si si_LK
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [aapt, p, --min-
sdk-version, 19, --target-sdk-version, 19, -F, C:\Users\Laura\AppData\Local\Tem
p\APKTOOL3863357879640053709.tmp, -0, arsc, -I, C:\Users\Laura\apktool\framewor
k\1.apk, -S, C:\Users\Laura\Desktop\Apk Tool\settings\res, -M, C:\Users\Laura\
Desktop\Apk Tool\settings\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [aapt, p, --min-sdk-version, 19, --target-sdk-version, 19, -F, C:
\Users\Laura\AppData\Local\Temp\APKTOOL3863357879640053709.tmp, -0, arsc, -I, C
:\Users\Laura\apktool\framework\1.apk, -S, C:\Users\Laura\Desktop\Apk Tool\set
tings\res, -M, C:\Users\Laura\Desktop\Apk Tool\settings\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [aapt, p, --min-sd
k-version, 19, --target-sdk-version, 19, -F, C:\Users\Laura\AppData\Local\Temp\
APKTOOL3863357879640053709.tmp, -0, arsc, -I, C:\Users\Laura\apktool\framework\
1.apk, -S, C:\Users\Laura\Desktop\Apk Tool\settings\res, -M, C:\Users\Laura\De
sktop\Apk Tool\settings\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.jav
a:355)
... 6 more
Click to expand...
Click to collapse
Can anyone help me with this ?
I am assuming you are running 4.3 with this if so
Download the zip and extract the folder it has three files in
aapt.exe
apktool.bat
apktool.jar
In your folder C:\Users\Laura\Desktop\Apk Tool replace the files with these (backup you originals first to another folder)
Also copy these same three files to your folder C;\Windows\System32\
Find the framework apktool folder most likely Laura\apktool\framework and delete any files in it called 1.apk, 2.apk
Extract framework-res.apk and twframework-res.apk from your phone to your working folder (you already have the framework one so just the twframework apk)
run the apktool if framework-res.apk then run apktool if twframework-res.apk
This will now have put two complete new files in your apktool framework folder
Finally decompile the secsettings.apk or any apk and try to compile it, hopefully it should work for you
It took me a while to get the correct files to work I was getting the same sort of errors, now it works properly, hope it helps you.
Android.4.3.files
UPDATE, just tried it on SystemUI and it failed, so tried Settings and that didn't fully fail, still created the APK but said there were errors so not sure on that one, only framework-res and twframework-res work without errors, so up to you if you want to try it
ag4751 said:
I am assuming you are running 4.3 with this if so
Download the zip and extract the folder it has three files in
aapt.exe
apktool.bat
apktool.jar
In your folder C:\Users\Laura\Desktop\Apk Tool replace the files with these (backup you originals first to another folder)
Also copy these same three files to your folder C;\Windows\System32\
Find the framework apktool folder most likely Laura\apktool\framework and delete any files in it called 1.apk, 2.apk
Extract framework-res.apk and twframework-res.apk from your phone to your working folder (you already have the framework one so just the twframework apk)
run the apktool if framework-res.apk then run apktool if twframework-res.apk
This will now have put two complete new files in your apktool framework folder
Finally decompile the secsettings.apk or any apk and try to compile it, hopefully it should work for you
It took me a while to get the correct files to work I was getting the same sort of errors, now it works properly, hope it helps you.
Android.4.3.files
UPDATE, just tried it on SystemUI and it failed, so tried Settings and that didn't fully fail, still created the APK but said there were errors so not sure on that one, only framework-res and twframework-res work without errors, so up to you if you want to try it
Click to expand...
Click to collapse
Thank you so much for replying...
But I'm not on 4.3
I'm on CM11 4.4 ( [CM11][4.4][ROM][KERNEL][NOV23] temasek's UNOFFICIAL Build - V7 (r3p2 mali) )
laura almeida said:
Thank you so much for replying...
But I'm not on 4.3
I'm on CM11 4.4 ( [CM11][4.4][ROM][KERNEL][NOV23] temasek's UNOFFICIAL Build - V7 (r3p2 mali) )
Click to expand...
Click to collapse
If you get it work without errors would you let me know how / which apktool and aapt file you use so I can try them its frustrating that only framework and twframework are the only ones that work properly
The apktool.jar in the zip is the latest one compatible with 4,4
ag4751 said:
If you get it work without errors would you let me know how / which apktool and aapt file you use so I can try them its frustrating that only framework and twframework are the only ones that work properly
The apktool.jar in the zip is the latest one compatible with 4,4
Click to expand...
Click to collapse
While using the apktool that you provided i'm getting these errors can you help ?
Code:
C:\Users\Laura\Desktop\Apk tool>apktool b settings
I: Using Apktool 2.0.0-Beta7 on settings
I: Checking whether sources has changed...
I: Smaling...
I: Checking whether resources has changed...
I: Building resources...
aapt: warning: string 'category_printers' has no default translation in C:\Users
\Laura\Desktop\Apk tool\settings\res; found: az_AZ ne_NP si_LK
aapt: warning: string 'cell_broadcast_settings_summary' has no default translati
on in C:\Users\Laura\Desktop\Apk tool\settings\res; found: az az_AZ et hy ka km
lo mn ms ne ne_NP si si_LK
aapt: warning: string 'experimental_webview' has no default translation in C:\Us
ers\Laura\Desktop\Apk tool\settings\res; found: af am ar az az_AZ be bg ca cs d
a de el en_GB en_IN es es_US et et_EE fa fi fr fr_CA hi hr hu hy hy_AM in it iw
ja ka ka_GE km km_KH ko lo lo_LA lt lv mn mn_MN ms ms_MY nb ne ne_NP nl pl pt pt
_PT ro ru si si_LK sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'experimental_webview_summary' has no default translation
in C:\Users\Laura\Desktop\Apk tool\settings\res; found: af am ar az az_AZ be bg
ca cs da de el en_GB en_IN es es_US et et_EE fa fi fr fr_CA hi hr hu hy hy_AM i
n it iw ja ka ka_GE km km_KH ko lo lo_LA lt lv mn mn_MN ms ms_MY nb ne ne_NP nl
pl pt pt_PT ro ru si si_LK sk sl sr sv sw th tl tr uk vi zh_CN zh_HK zh_TW zu
aapt: warning: string 'location_category_app_settings' has no default translatio
n in C:\Users\Laura\Desktop\Apk tool\settings\res; found: az_AZ ne_NP si_LK
aapt: warning: string 'nav_bar_button_style' has no default translation in C:\Us
ers\Laura\Desktop\Apk tool\settings\res; found: es
aapt: warning: string 'nav_button_color_mode_dialog_title' has no default transl
ation in C:\Users\Laura\Desktop\Apk tool\settings\res; found: es
aapt: warning: string 'nav_button_color_mode_title' has no default translation i
n C:\Users\Laura\Desktop\Apk tool\settings\res; found: es
aapt: warning: string 'navbar_button_style_reset_message' has no default transla
tion in C:\Users\Laura\Desktop\Apk tool\settings\res; found: es
aapt: warning: string 'navigation_bar_icon_tint_title' has no default translatio
n in C:\Users\Laura\Desktop\Apk tool\settings\res; found: es
aapt: warning: string 'nfc_payment_ask' has no default translation in C:\Users\S
hafal\Desktop\Apk tool\settings\res; found: az az_AZ et hy ka km lo mn ms ne ne_
NP si si_LK
aapt: warning: string 'print_services_title' has no default translation in C:\Us
ers\Laura\Desktop\Apk tool\settings\res; found: az et hy ka km lo mn ms ne si
aapt: warning: string 'process_stats_ram_use' has no default translation in C:\U
sers\Laura\Desktop\Apk tool\settings\res; found: az_AZ ne_NP si_LK
aapt: warning: string 'shortcuts_color_summary' has no default translation in C:
\Users\Laura\Desktop\Apk tool\settings\res; found: de es fr hr nl pt
aapt: warning: string 'wimax_settings_summary' has no default translation in C:\
Users\Laura\Desktop\Apk tool\settings\res; found: az az_AZ et hy ka km lo mn ms
ne ne_NP si si_LK
I: Building apk file...
laura almeida said:
While using the apktool that you provided i'm getting these errors can you help ?
[/CODE]
Click to expand...
Click to collapse
They are only translation warnings, such as the first one that says
string 'cell_broadcast_settings_summary' has no default translation found: az az_AZ et hy ka km
Means that 'cell_broadcast_settings_summary' isn’t translated into the languages located in these folders az az_AZ et hy ka km
This won’t affect the changes to xml / png files you make,at the end it does say Building apk file, once that’s done you can extract your changed xml / png files and flash them to your phone using whatever custom recovery process you normally use for flashing
ag4751 said:
They are only translation warnings, such as the first one that says
string 'cell_broadcast_settings_summary' has no default translation found: az az_AZ et hy ka km
Means that 'cell_broadcast_settings_summary' isn’t translated into the languages located in these folders az az_AZ et hy ka km
This won’t affect the changes to xml / png files you make,at the end it does say Building apk file, once that’s done you can extract your changed xml / png files and flash them to your phone using whatever custom recovery process you normally use for flashing
Click to expand...
Click to collapse
I tried flashing the modified apk
but no changes after flashing
laura almeida said:
I tried flashing the modified apk
but no changes after flashing
Click to expand...
Click to collapse
Did u find a solution yet?
nerotix said:
Did u find a solution yet?
Click to expand...
Click to collapse
Yes i did.
Method 1.
Edit the script file inside the zip to mount system and to delete the currently existing apk file.
script file location : \META-INF\com\google\android\updater-script
Method 2.
Use Root explorer to mount system as R/O then copy and replace the apk file.
laura almeida said:
Yes i did.
Method 1.
Edit the script file inside the zip to mount system and to delete the currently existing apk file.
script file location : \META-INF\com\google\android\updater-script
Method 2.
Use Root explorer to mount system as R/O then copy and replace the apk file.
Click to expand...
Click to collapse
Hmm and this fixes the compiling error? seems like it has no connection for some reason.
nerotix said:
Hmm and this fixes the compiling error? seems like it has no connection for some reason.
Click to expand...
Click to collapse
no dear
compiling error was only just warnings.
it was not Actually an Error
after displaying all those warnings apktool had build my modified apk
so its not a problem
we can just ignore the warnings.
Hi all guys. Hope someone can help me, cause I really don't know what to do. I read around but I didn't find anything that could solve my problem.
I want to modify SecSettings.apk from N8000 to edit a smali file. I follow these steps :
-Install framework-res.apk
-Install twframework-res.apk
-Decompile SecSettings.apk
-Modify .smali file
-Recompile. Here I get errors.
This is the log :
D:\DEVELOPING\one_click_signer\apktool>apktool if framework-res.apk
I: Framework installed to: C:\Users\Andrea\apktool\framework\1.apk
D:\DEVELOPING\one_click_signer\apktool>apktool if twframework-res.apk
I: Framework installed to: C:\Users\Andrea\apktool\framework\2.apk
D:\DEVELOPING\one_click_signer\apktool>apktool d SecSettings.apk
I: Using Apktool 2.0.0-Beta7 on SecSettings.apk
I: Loading resource table...
W: Skipping "android" package group
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Andrea\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Loading resource table from file: C:\Users\Andrea\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive C:\Users\Andrea\apktool\framework\2.apk
I: Decoding values */* XMLs...
I: Loading resource table...
Cleaning up unclosed ZipFile for archive C:\Users\Andrea\apktool\framework\1.apk
W: Skipping "android" package group
I: Baksmaling...
I: Copying assets and libs...
I: Copying unknown files/dir...
I: Copying original files...
D:\DEVELOPING\one_click_signer\apktool>apktool b -f -d SecSettings
I: Using Apktool 2.0.0-Beta7 on SecSettings
I: Smaling...
I: Building resources...
D:\DEVELOPING\one_click_signer\apktool\SecSettings \res\xml\assistant.xml:3: erro
r: Error: No resource found that matches the given name (at 'resource' with valu
e '@drawable/assistant_menu_icon_messages_search').
aapt: warning: string 'accessibility_screen_magnification_summary' has no defaul
t translation in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found:
az_AZ et_EE hy_AM ka_GE
aapt: warning: string 'answering_end_call_title_prev' has no default translation
in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found: ar az bg ca c
s da de el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it
ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tl tr uk ur uz
vi zh_CN zh_TW
aapt: warning: string 'category_printers' has no default translation in D:\DEVEL
OPING\one_click_signer\apktool\SecSettings\res; found: az_AZ
aapt: warning: string 'cell_broadcast_settings_summary' has no default translati
on in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found: az_AZ
aapt: warning: string 'downloadable_dialog_popup_text_wifi' has no default trans
lation in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found: ar az b
g ca cs da de el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in
is it ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tl tr uk
ur uz vi zh_CN zh_TW
aapt: warning: string 'experimental_webview' has no default translation in D:\DE
VELOPING\one_click_signer\apktool\SecSettings\res; found: az_AZ et_EE hy_AM ka_G
E
aapt: warning: string 'experimental_webview_summary' has no default translation
in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found: az_AZ et_EE hy
_AM ka_GE
aapt: warning: string 'location_category_app_settings' has no default translatio
n in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found: az_AZ
aapt: warning: string 'nfc_payment_ask' has no default translation in D:\DEVELOP
ING\one_click_signer\apktool\SecSettings\res; found: az_AZ
aapt: warning: string 'print_add_printer' has no default translation in D:\DEVEL
OPING\one_click_signer\apktool\SecSettings\res; found: ar az bg ca cs da de el e
n_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it ja ka kk ko
lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tl tr uk ur uz vi zh_CN zh
_TW
aapt: warning: string 'screen_rate' has no default translation in D:\DEVELOPING\
one_click_signer\apktool\SecSettings\res; found: ar az bg ca cs da de el en_PH e
n_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it ja ka kk ko lt lv
mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tl tr uk ur uz vi zh_CN zh_TW
aapt: warning: string 'screen_size_downscale_1' has no default translation in D:
\DEVELOPING\one_click_signer\apktool\SecSettings\r es; found: ar az bg ca cs da d
e el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it ja ka
kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tl tr uk ur uz vi zh
_CN zh_TW
aapt: warning: string 'screen_size_downscale_2' has no default translation in D:
\DEVELOPING\one_click_signer\apktool\SecSettings\r es; found: ar az bg ca cs da d
e el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it ja ka
kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tl tr uk ur uz vi zh
_CN zh_TW
aapt: warning: string 'screen_size_downscale_3' has no default translation in D:
\DEVELOPING\one_click_signer\apktool\SecSettings\r es; found: ar az bg ca cs da d
e el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it ja ka
kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tl tr uk ur uz vi zh
_CN zh_TW
aapt: warning: string 'wifi_display_disconnect_text' has no default translation
in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found: az_AZ et_EE hy
_AM ka_GE
aapt: warning: string 'wifi_display_disconnect_title' has no default translation
in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found: az_AZ et_EE h
y_AM ka_GE
aapt: warning: string 'wifi_display_paired_devices' has no default translation i
n D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found: az_AZ et_EE hy_
AM ka_GE
aapt: warning: string 'wifi_display_search_for_devices' has no default translati
on in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found: az_AZ et_EE
hy_AM ka_GE
aapt: warning: string 'wifi_display_searching_for_devices' has no default transl
ation in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found: az_AZ et
_EE hy_AM ka_GE
aapt: warning: string 'wifi_display_settings_empty_list_wifi_display_dis abled' h
as no default translation in D:\DEVELOPING\one_click_signer\apktool\SecSettings \
res; found: az_AZ et_EE hy_AM ka_GE
aapt: warning: string 'wifi_display_settings_empty_list_wifi_display_off ' has no
default translation in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res;
found: az_AZ et_EE hy_AM ka_GE
aapt: warning: string 'wifi_display_status_available' has no default translation
in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found: az_AZ et_EE h
y_AM ka_GE
aapt: warning: string 'wimax_settings_summary' has no default translation in D:\
DEVELOPING\one_click_signer\apktool\SecSettings\re s; found: az_AZ
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [C:\Users\Andrea
\AppData\Local\Temp\brut_util_Jar_1856909593108704 239.tmp, p, --debug-mode, --fo
rced-package-id, 1, --min-sdk-version, 19, --target-sdk-version, 19, --version-c
ode, 19, --version-name, 4.4.2-N8000XXUDND5, -F, C:\Users\Andrea\AppData\Local\T
emp\APKTOOL7971105794680974515.tmp, -0, arsc, -I, C:\Users\Andrea\apktool\framew
ork\1.apk, -I, C:\Users\Andrea\apktool\framework\2.apk, -S, D:\DEVELOPING\one_cl
ick_signer\apktool\SecSettings\res, -M, D:\DEVELOPING\one_click_signer\apktool\S
ecSettings\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:434)
at brut.androlib.Androlib.buildResources(Androlib.jav a:362)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:233)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [C:\Users\Andrea\AppData\Local\Temp\brut_util_Jar_1 85690959310870
4239.tmp, p, --debug-mode, --forced-package-id, 1, --min-sdk-version, 19, --targ
et-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-N8000XXUDND5, -F,
C:\Users\Andrea\AppData\Local\Temp\APKTOOL79711057 94680974515.tmp, -0, arsc, -I,
C:\Users\Andrea\apktool\framework\1.apk, -I, C:\Users\Andrea\apktool\framework\
2.apk, -S, D:\DEVELOPING\one_click_signer\apktool\SecSettings \res, -M, D:\DEVELO
PING\one_click_signer\apktool\SecSettings\AndroidM anifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.jav
a:481)
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:415)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Andrea\A
ppData\Local\Temp\brut_util_Jar_185690959310870423 9.tmp, p, --debug-mode, --forc
ed-package-id, 1, --min-sdk-version, 19, --target-sdk-version, 19, --version-cod
e, 19, --version-name, 4.4.2-N8000XXUDND5, -F, C:\Users\Andrea\AppData\Local\Tem
p\APKTOOL7971105794680974515.tmp, -0, arsc, -I, C:\Users\Andrea\apktool\framewor
k\1.apk, -I, C:\Users\Andrea\apktool\framework\2.apk, -S, D:\DEVELOPING\one_clic
k_signer\apktool\SecSettings\res, -M, D:\DEVELOPING\one_click_signer\apktool\Sec
Settings\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.jav
a:475)
... 6 more
D:\DEVELOPING\one_click_signer\apktool>
Can someone help me please?
Sorry if I asked in the wrong section
Mikyno said:
Hi all guys. Hope someone can help me, cause I really don't know what to do. I read around but I didn't find anything that could solve my problem.
I want to modify SecSettings.apk from N8000 to edit a smali file. I follow these steps :
-Install framework-res.apk
-Install twframework-res.apk
-Decompile SecSettings.apk
-Modify .smali file
-Recompile. Here I get errors.
This is the log :
D:\DEVELOPING\one_click_signer\apktool>apktool if framework-res.apk
I: Framework installed to: C:\Users\Andrea\apktool\framework\1.apk
D:\DEVELOPING\one_click_signer\apktool>apktool if twframework-res.apk
I: Framework installed to: C:\Users\Andrea\apktool\framework\2.apk
D:\DEVELOPING\one_click_signer\apktool>apktool d SecSettings.apk
I: Using Apktool 2.0.0-Beta7 on SecSettings.apk
I: Loading resource table...
W: Skipping "android" package group
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\Andrea\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Loading resource table from file: C:\Users\Andrea\apktool\framework\2.apk
Cleaning up unclosed ZipFile for archive C:\Users\Andrea\apktool\framework\2.apk
I: Decoding values */* XMLs...
I: Loading resource table...
Cleaning up unclosed ZipFile for archive C:\Users\Andrea\apktool\framework\1.apk
W: Skipping "android" package group
I: Baksmaling...
I: Copying assets and libs...
I: Copying unknown files/dir...
I: Copying original files...
D:\DEVELOPING\one_click_signer\apktool>apktool b -f -d SecSettings
I: Using Apktool 2.0.0-Beta7 on SecSettings
I: Smaling...
I: Building resources...
D:\DEVELOPING\one_click_signer\apktool\SecSettings \res\xml\assistant.xml:3: erro
r: Error: No resource found that matches the given name (at 'resource' with valu
e '@drawable/assistant_menu_icon_messages_search').
aapt: warning: string 'accessibility_screen_magnification_summary' has no defaul
t translation in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found:
az_AZ et_EE hy_AM ka_GE
aapt: warning: string 'answering_end_call_title_prev' has no default translation
in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found: ar az bg ca c
s da de el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it
ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tl tr uk ur uz
vi zh_CN zh_TW
aapt: warning: string 'category_printers' has no default translation in D:\DEVEL
OPING\one_click_signer\apktool\SecSettings\res; found: az_AZ
aapt: warning: string 'cell_broadcast_settings_summary' has no default translati
on in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found: az_AZ
aapt: warning: string 'downloadable_dialog_popup_text_wifi' has no default trans
lation in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found: ar az b
g ca cs da de el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in
is it ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tl tr uk
ur uz vi zh_CN zh_TW
aapt: warning: string 'experimental_webview' has no default translation in D:\DE
VELOPING\one_click_signer\apktool\SecSettings\res; found: az_AZ et_EE hy_AM ka_G
E
aapt: warning: string 'experimental_webview_summary' has no default translation
in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found: az_AZ et_EE hy
_AM ka_GE
aapt: warning: string 'location_category_app_settings' has no default translatio
n in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found: az_AZ
aapt: warning: string 'nfc_payment_ask' has no default translation in D:\DEVELOP
ING\one_click_signer\apktool\SecSettings\res; found: az_AZ
aapt: warning: string 'print_add_printer' has no default translation in D:\DEVEL
OPING\one_click_signer\apktool\SecSettings\res; found: ar az bg ca cs da de el e
n_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it ja ka kk ko
lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tl tr uk ur uz vi zh_CN zh
_TW
aapt: warning: string 'screen_rate' has no default translation in D:\DEVELOPING\
one_click_signer\apktool\SecSettings\res; found: ar az bg ca cs da de el en_PH e
n_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it ja ka kk ko lt lv
mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tl tr uk ur uz vi zh_CN zh_TW
aapt: warning: string 'screen_size_downscale_1' has no default translation in D:
\DEVELOPING\one_click_signer\apktool\SecSettings\r es; found: ar az bg ca cs da d
e el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it ja ka
kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tl tr uk ur uz vi zh
_CN zh_TW
aapt: warning: string 'screen_size_downscale_2' has no default translation in D:
\DEVELOPING\one_click_signer\apktool\SecSettings\r es; found: ar az bg ca cs da d
e el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it ja ka
kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tl tr uk ur uz vi zh
_CN zh_TW
aapt: warning: string 'screen_size_downscale_3' has no default translation in D:
\DEVELOPING\one_click_signer\apktool\SecSettings\r es; found: ar az bg ca cs da d
e el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it ja ka
kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tl tr uk ur uz vi zh
_CN zh_TW
aapt: warning: string 'wifi_display_disconnect_text' has no default translation
in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found: az_AZ et_EE hy
_AM ka_GE
aapt: warning: string 'wifi_display_disconnect_title' has no default translation
in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found: az_AZ et_EE h
y_AM ka_GE
aapt: warning: string 'wifi_display_paired_devices' has no default translation i
n D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found: az_AZ et_EE hy_
AM ka_GE
aapt: warning: string 'wifi_display_search_for_devices' has no default translati
on in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found: az_AZ et_EE
hy_AM ka_GE
aapt: warning: string 'wifi_display_searching_for_devices' has no default transl
ation in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found: az_AZ et
_EE hy_AM ka_GE
aapt: warning: string 'wifi_display_settings_empty_list_wifi_display_dis abled' h
as no default translation in D:\DEVELOPING\one_click_signer\apktool\SecSettings \
res; found: az_AZ et_EE hy_AM ka_GE
aapt: warning: string 'wifi_display_settings_empty_list_wifi_display_off ' has no
default translation in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res;
found: az_AZ et_EE hy_AM ka_GE
aapt: warning: string 'wifi_display_status_available' has no default translation
in D:\DEVELOPING\one_click_signer\apktool\SecSettings \res; found: az_AZ et_EE h
y_AM ka_GE
aapt: warning: string 'wimax_settings_summary' has no default translation in D:\
DEVELOPING\one_click_signer\apktool\SecSettings\re s; found: az_AZ
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.Androl
ibException: brut.common.BrutException: could not exec command: [C:\Users\Andrea
\AppData\Local\Temp\brut_util_Jar_1856909593108704 239.tmp, p, --debug-mode, --fo
rced-package-id, 1, --min-sdk-version, 19, --target-sdk-version, 19, --version-c
ode, 19, --version-name, 4.4.2-N8000XXUDND5, -F, C:\Users\Andrea\AppData\Local\T
emp\APKTOOL7971105794680974515.tmp, -0, arsc, -I, C:\Users\Andrea\apktool\framew
ork\1.apk, -I, C:\Users\Andrea\apktool\framework\2.apk, -S, D:\DEVELOPING\one_cl
ick_signer\apktool\SecSettings\res, -M, D:\DEVELOPING\one_click_signer\apktool\S
ecSettings\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:434)
at brut.androlib.Androlib.buildResources(Androlib.jav a:362)
at brut.androlib.Androlib.build(Androlib.java:285)
at brut.androlib.Androlib.build(Androlib.java:258)
at brut.apktool.Main.cmdBuild(Main.java:233)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not
exec command: [C:\Users\Andrea\AppData\Local\Temp\brut_util_Jar_1 85690959310870
4239.tmp, p, --debug-mode, --forced-package-id, 1, --min-sdk-version, 19, --targ
et-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-N8000XXUDND5, -F,
C:\Users\Andrea\AppData\Local\Temp\APKTOOL79711057 94680974515.tmp, -0, arsc, -I,
C:\Users\Andrea\apktool\framework\1.apk, -I, C:\Users\Andrea\apktool\framework\
2.apk, -S, D:\DEVELOPING\one_click_signer\apktool\SecSettings \res, -M, D:\DEVELO
PING\one_click_signer\apktool\SecSettings\AndroidM anifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.jav
a:481)
at brut.androlib.Androlib.buildResourcesFull(Androlib .java:415)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Andrea\A
ppData\Local\Temp\brut_util_Jar_185690959310870423 9.tmp, p, --debug-mode, --forc
ed-package-id, 1, --min-sdk-version, 19, --target-sdk-version, 19, --version-cod
e, 19, --version-name, 4.4.2-N8000XXUDND5, -F, C:\Users\Andrea\AppData\Local\Tem
p\APKTOOL7971105794680974515.tmp, -0, arsc, -I, C:\Users\Andrea\apktool\framewor
k\1.apk, -I, C:\Users\Andrea\apktool\framework\2.apk, -S, D:\DEVELOPING\one_clic
k_signer\apktool\SecSettings\res, -M, D:\DEVELOPING\one_click_signer\apktool\Sec
Settings\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(An drolibResources.jav
a:475)
... 6 more
D:\DEVELOPING\one_click_signer\apktool>
Can someone help me please?
Sorry if I asked in the wrong section
Click to expand...
Click to collapse
Here's your actual error:
Code:
D:\DEVELOPING\one_click_signer\apktool\SecSettings \res\xml\assistant.xml:3: error: Error: No resource found that matches the given name (at 'resource' with value '@drawable/assistant_menu_icon_messages_search').
Everything else is just warnings. They're worth paying attention to but they won't stop your apk from recompiling.
Have a look at the third line of assistant.xml. There's a call for a drawable resource there which doesn't actually exist...
Ticklefish said:
Here's your actual error:
Code:
D:\DEVELOPING\one_click_signer\apktool\SecSettings \res\xml\assistant.xml:3: error: Error: No resource found that matches the given name (at 'resource' with value '@drawable/assistant_menu_icon_messages_search').
Everything else is just warnings. They're worth paying attention to but they won't stop your apk from recompiling.
Have a look at the third line of assistant.xml. There's a call for a drawable resource there which doesn't actually exist...
Click to expand...
Click to collapse
Thanks for your suggestion man! I solved this error by adding a file with the same name and it works fine . But I didn't managed to unlock AirCommand feature built in SecSettings.apk of N8000. I know that maybe you can't help me but asking doesn't cost anything I have to modify a smali file to make the apk show a setting to enable AirCommand (Samsung feature). I am pretty sure it is only disabled so I have to find where I have to modify the strings. A dev told me to delete removepreference feature but that didn't work or I didn't do it in the right way. Can you give me some advices ?
Mikyno said:
Thanks for your suggestion man! I solved this error by adding a file with the same name and it works fine . But I didn't managed to unlock AirCommand feature built in SecSettings.apk of N8000. I know that maybe you can't help me but asking doesn't cost anything I have to modify a smali file to make the apk show a setting to enable AirCommand (Samsung feature). I am pretty sure it is only disabled so I have to find where I have to modify the strings. A dev told me to delete removepreference feature but that didn't work or I didn't do it in the right way. Can you give me some advices ?
Click to expand...
Click to collapse
I would...but I can't, no. I don't know much about smali and I don't have a modern Samsung device to experiment with. Sorry.
Sent from my C6603 using Tapatalk
Ticklefish said:
I would...but I can't, no. I don't know much about smali and I don't have a modern Samsung device to experiment with. Sorry.
Sent from my C6603 using Tapatalk
Click to expand...
Click to collapse
Thanks man. I managed to do what I want. Now i am very near to complete the work
Inviato dal mio GT-N7100 utilizzando Tapatalk
Can you explain
Mikyno said:
Thanks for your suggestion man! I solved this error by adding a file with the same name and it works fine . But I didn't managed to unlock AirCommand feature built in SecSettings.apk of N8000. I know that maybe you can't help me but asking doesn't cost anything I have to modify a smali file to make the apk show a setting to enable AirCommand (Samsung feature). I am pretty sure it is only disabled so I have to find where I have to modify the strings. A dev told me to delete removepreference feature but that didn't work or I didn't do it in the right way. Can you give me some advices ?
Click to expand...
Click to collapse
I have the same problem
Can you explain what you did?
What file did you add with what name
I decompiled my systemUI using mobile apktool,made the changes I wanted but whrn I clicked recompile,it didn't recompile my systemUI.It just shows an error again and again and doesn't build the apk.
I am getting this message:
I: Smaling...
I: Building resources...
aapt: warning: string 'abbrev_wday_abbrev_month_day_no_year' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'abbrev_wday_day_abbrev_month_no_year' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'abbrev_wday_month_day_no_year' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'abbrev_wday_month_day_year' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'am' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_long_friday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_long_monday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_long_saturday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_long_sunday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_long_thursday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_long_tuesday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_long_wednesday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_medium_friday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_medium_monday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_medium_saturday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_medium_sunday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_medium_thursday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_medium_tuesday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_medium_wednesday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_short_friday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_short_monday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_short_saturday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_short_sunday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_short_thursday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_short_tuesday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_short_wednesday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_shortest_friday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_shortest_monday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_shortest_saturday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_shortest_sunday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_shortest_thursday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_shortest_tuesday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'day_of_week_shortest_wednesday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'full_wday_month_day_no_year' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_april' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_august' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_december' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_february' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_january' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_july' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_june' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_march' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_may' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_november' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_october' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_september' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_standalone_april' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_standalone_august' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_standalone_december' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_standalone_february' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_standalone_january' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_standalone_july' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_standalone_june' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_standalone_march' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_standalone_may' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_standalone_november' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_standalone_october' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_long_standalone_september' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_medium_april' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_medium_august' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_medium_december' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_medium_february' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_medium_january' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_medium_july' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_medium_june' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_medium_march' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_medium_may' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_medium_november' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_medium_october' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_medium_september' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_shortest_april' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_shortest_august' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_shortest_december' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_shortest_february' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_shortest_january' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_shortest_july' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_shortest_june' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_shortest_march' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_shortest_may' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_shortest_november' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_shortest_october' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'month_shortest_september' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'pm' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'quickpanel_data_roaming_disable_toast' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: ar az bg ca cs da de el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
aapt: warning: string 'quickpanel_data_roaming_enable_toast' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: ar az bg ca cs da de el en_PH en_US es_ES es_US et eu fa fi fr fr_CA ga gl hr hu hy in is it iw ja ka kk ko lt lv mk ms nb nl pl pt_BR pt_PT ro ru sk sl sr sv th tr uk ur uz vi zh_CN zh_HK zh_SG zh_TW
aapt: warning: string 'today' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'tomorrow' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'twelve_hour_time_format' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
aapt: warning: string 'yesterday' has no default translation in /storage/sdcard0/8sms/audio/SystemUI_src/res; found: mk
/storage/sdcard0/8sms/audio/SystemUI_src/res/values/drawables.xml:44: error: Resource entry tw_ic_sysbar_app is already defined.
res/drawable/tw_ic_sysbar_app.xml:0: Originally defined here.
/storage/sdcard0/8sms/audio/SystemUI_src/res/layout/status_bar.xml:18: error: Error parsing XML: not well-formed (invalid token)
/storage/sdcard0/8sms/audio/SystemUI_src/res/layout/tw_signal_cluster_view.xml:7: error: Error parsing XML: not well-formed (invalid token)
/storage/sdcard0/8sms/audio/SystemUI_src/res/layout/tw_status_bar_expanded_header.xml:32: error: Error parsing XML: junk after document element
/storage/sdcard0/8sms/audio/SystemUI_src/res/drawable/tw_ic_sysbar_app.xml:1: error: Error parsing XML: no element found
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt4.1, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, /data/data/per.pqy.apktool/APKTOOL4223425643433250019.tmp, -I, ?/apktool/framework/1.apk, -S, /storage/sdcard0/8sms/audio/SystemUI_src/res, -M, /storage/sdcard0/8sms/audio/SystemUI_src/AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:358)
at brut.androlib.Androlib.buildResources(Androlib.java:283)
at brut.androlib.Androlib.build(Androlib.java:206)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt4.1, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, /data/data/per.pqy.apktool/APKTOOL4223425643433250019.tmp, -I, ?/apktool/framework/1.apk, -S, /storage/sdcard0/8sms/audio/SystemUI_src/res, -M, /storage/sdcard0/8sms/audio/SystemUI_src/AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:357)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:336)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [/data/data/per.pqy.apktool/lix/aapt4.1, p, --min-sdk-version, 16, --target-sdk-version, 16, -F, /data/data/per.pqy.apktool/APKTOOL4223425643433250019.tmp, -I, ?/apktool/framework/1.apk, -S, /storage/sdcard0/8sms/audio/SystemUI_src/res, -M, /storage/sdcard0/8sms/audio/SystemUI_src/AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:355)
... 6 more
Sent from my GT-S5282 using xda app-developers app
you have wrongly edited some xmls,that's why this error is coming.. these xmls are
drawables.xml, tw status bar expanded header.xml, tw ic sysbar.xml, status bar.XML and some more XML files.
please recheck them.
Post This question in Q/A section Dont break rules
ShadeSK said:
Post This question in Q/A section Dont break rules
Click to expand...
Click to collapse
Yeah, u are right, this should be in Q/A section
SystemUI_src/res; found: mk
/storage/sdcard0/8sms/audio/SystemUI_src/res/values/drawables.xml:44: error: Resource entry tw_ic_sysbar_app is already defined.
res/drawable/tw_ic_sysbar_app.xml:0: Originally defined here.
/storage/sdcard0/8sms/audio/SystemUI_src/res/layout/status_bar.xml:18: error: Error parsing XML: not well-formed (invalid token)
/storage/sdcard0/8sms/audio/SystemUI_src/res/layout/tw_signal_cluster_view.xml:7: error: Error parsing XML: not well-formed (invalid token)
/storage/sdcard0/8sms/audio/SystemUI_src/res/layout/tw_status_bar_expanded_header.xml:32: error: Error parsing XML: junk after document element
/storage/sdcard0/8sms/audio/SystemUI_src/res/drawable/tw_ic_sysbar_app.xml:1: error: Error parsing XML: no element found
I Highlited those errors so Fix it before compiling again