Apktool Recompile sorunu

#1
Merhaba ben settings.apk'yi apktool ile decompile ettiğim de sorunsuz bir şekilde çıkıyor ama sorun şuki hiçbir şey değiştirmesem bile decompile ettiğimde aşağıdaki hatayı alıyorum.

Kod:
Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.err.Ca
ntFindFrameworkResException
        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:442)
        at brut.androlib.Androlib.buildResources(Androlib.java:379)
        at brut.androlib.Androlib.build(Androlib.java:282)
        at brut.androlib.Androlib.build(Androlib.java:255)
        at brut.apktool.Main.cmdBuild(Main.java:225)
        at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.err.CantFindFrameworkResException
        at brut.androlib.res.AndrolibResources.getFrameworkApk(AndrolibResources
.java:656)
        at brut.androlib.Androlib.parseUsesFramework(Androlib.java:672)
        at brut.androlib.Androlib.buildResourcesFull(Androlib.java:428)
        ... 5 more
 

MadloveR

Administrator
#2
1. Framework-res.apk yüklenmemiş onu yükleyin önce
2. Out veya projects klasörüne girin. Settings.apk klasörünü açın içinde apktool.yml var onu notepad++ ile açın -1 altına -2 ekleyin kaydedip kapatın
 
#4
"apktool if framework-res.apk" komutu ile framework'u extract ettim. Bu işlemi yaptıktan sonra decompile ettim zaten. Ama recompile işleminde hala aynı hatayı alıyorum.
 

Orochi™

Administrator
#6
Advanced apktool v4.10 da kapadiysan geri acamiyor sebebide
Drawable klasorlerin adina -v4 yazmasi
Apk acmadan once klasorlerin adindaki -v4 leri silip apk recomp edebilirsin
Ancak bunla ugrasmak istemiyorsan advanced apktool v3 kullan.
 
#7

Log For : Settings.apk

Log Type : Recompiling

Log Recorded At : 27.02.2015 -- 19:18:44,82

Log Recorded By : Advanced ApkTool v3.0.0 By BDFreak

------------------------------------------------------

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.err.CantFindFrameworkResException
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:439)
at brut.androlib.Androlib.buildResources(Androlib.java:367)
at brut.androlib.Androlib.build(Androlib.java:290)
at brut.androlib.Androlib.build(Androlib.java:262)
at brut.apktool.Main.cmdBuild(Main.java:236)
at brut.apktool.Main.main(Main.java:88)
Caused by: brut.androlib.err.CantFindFrameworkResException
at brut.androlib.res.AndrolibResources.getFrameworkApk(AndrolibResources.java:660)
at brut.androlib.Androlib.parseUsesFramework(Androlib.java:673)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:420)
... 5 more

------------------------------------------------------
 
#9
Bu konularda gerçekten acemiyim. Decompile ettiğimde drawable klasörlerde -v4 takısı görmüyorum. Nasıl V4 leri kaldıracağım ayrıca framework-res'i tanıttığıma eminim. Şuan zaten Advanced apktool V3 kullanıyorum.
 

bilaldmirel

Yasaklı Üye
#13
 Log For : Settings.apk 

 Log Type : Recompiling 

 Log Recorded At : Pzt -02.03.2015- 16:32:38,85 

 Log Recorded By : Advanced ApkTool v4.1.0 By BDFreak 

------------------------------------------------------ 

warning: string 'AGPS_CAUSE_BAD_PUSH_CONTENT' has no default translation.
warning: string 'AGPS_CAUSE_NETWORK_CREATE_FAIL' has no default translation.
warning: string 'AGPS_CAUSE_NETWORK_DISCONN' has no default translation.
warning: string 'AGPS_CAUSE_NOT_SUPPORTED' has no default translation.
warning: string 'AGPS_CAUSE_NO_POSITION' has no default translation.
warning: string 'AGPS_CAUSE_NO_RESOURCE' has no default translation.
warning: string 'AGPS_CAUSE_REMOTE_ABORT' has no default translation.
warning: string 'AGPS_CAUSE_REMOTE_MSG_ERROR' has no default translation.
warning: string 'AGPS_CAUSE_REQ_NOT_ACCEPTED' has no default translation.
warning: string 'AGPS_CAUSE_TIMER_EXPIRY' has no default translation.
warning: string 'AGPS_CAUSE_TLS_AUTH_FAIL' has no default translation.
warning: string 'AGPS_CAUSE_USER_AGREE' has no default translation.
warning: string 'AGPS_CAUSE_USER_DENY' has no default translation.
warning: string 'AGPS_EM_POS_FIXED' has no default translation.
warning: string 'AGPS_EM_RECV_SI_REQ' has no default translation.
warning: string 'AgpsHelp_Category' has no default translation.
warning: string 'Agps_Work_Mode_Setting' has no default translation.
warning: string 'CA_Enable_Title' has no default translation.
warning: string 'CA_enable_summary_off' has no default translation.
warning: string 'CA_enable_summary_on' has no default translation.
warning: string 'CP_EM_Settings' has no default translation.
warning: string 'CP_EM_Settings_Summary' has no default translation.
warning: string 'CUSTOM_POLICY_Cat_Title' has no default translation.
warning: string 'CUSTOM_POLICY_Summary_off' has no default translation.
warning: string 'CUSTOM_POLICY_Summary_on' has no default translation.
warning: string 'CUSTOM_POLICY_Title' has no default translation.
warning: string 'CUSTOM_POLICY_Type_Summary' has no default translation.
warning: string 'CUSTOM_POLICY_Type_Title' has no default translation.
warning: string 'Current_Selected_MOLR_PositionType' has no default translation.
warning: string 'EM_NotifyDialog_title' has no default translation.
warning: string 'External_Address' has no default translation.
warning: string 'External_Address_Summary_off' has no default translation.
warning: string 'External_Address_Summary_on' has no default translation.
warning: string 'External_Address_Value' has no default translation.
warning: string 'External_Address_Value_editbox_title' has no default translation.
warning: string 'MLC_Number' has no default translation.
warning: string 'MLC_Number_Summary_off' has no default translation.
warning: string 'MLC_Number_Summary_on' has no default translation.
warning: string 'MLC_Number_Value' has no default translation.
warning: string 'MLC_Number_Value_editbox_title' has no default translation.
warning: string 'MOLR_Position_Type' has no default translation.
warning: string 'MOLR_Settings' has no default translation.
warning: string 'MobileNetwork_Category' has no default translation.
warning: string 'MobileNetwork_DataConn_off' has no default translation.
warning: string 'MobileNetwork_SIM_Active' has no default translation.
warning: string 'MobileNetwork_off_Summary' has no default translation.
warning: string 'MobileNetwork_on_Summary' has no default translation.
warning: string 'Network_Initiate' has no default translation.
warning: string 'Network_Initiate_Summary_off' has no default translation.
warning: string 'Network_Initiate_Summary_on' has no default translation.
warning: string 'Network_Local_and_Roaming_Summary' has no default translation.
warning: string 'Network_Only_Local_Summary' has no default translation.
warning: string 'Network_Roaming_dialog_content' has no default translation.
warning: string 'Network_Roaming_dialog_title' has no default translation.
warning: string 'Network_Used' has no default translation.
warning: string 'SIM_SELECTION_Summary' has no default translation.
warning: string 'SIM_SELECTION_TITLE' has no default translation.
warning: string 'Selected_MOLR_Position_Type' has no default translation.
warning: string 'USER_RESPONSE_TIMEOUT' has no default translation.
warning: string 'WiFiNetwork_on_title' has no default translation.
warning: string 'about_agps_message' has no default translation.
warning: string 'about_agps_title' has no default translation.
warning: string 'accessibility_tutorial_back' has no default translation.
warning: string 'accessibility_tutorial_finish' has no default translation.
warning: string 'accessibility_tutorial_lesson_1_text_1' has no default translation.
warning: string 'accessibility_tutorial_lesson_1_text_2_more' has no default translation.
warning: string 'accessibility_tutorial_lesson_1_text_3' has no default translation.
warning: string 'accessibility_tutorial_lesson_1_text_4' has no default translation.
warning: string 'accessibility_tutorial_lesson_1_text_4_exited' has no default translation.
warning: string 'accessibility_tutorial_lesson_1_text_5' has no default translation.
warning: string 'accessibility_tutorial_lesson_1_title' has no default translation.
warning: string 'accessibility_tutorial_lesson_2_text_1' has no default translation.
warning: string 'accessibility_tutorial_lesson_2_text_2_more' has no default translation.
warning: string 'accessibility_tutorial_lesson_2_text_3' has no default translation.
warning: string 'accessibility_tutorial_lesson_2_text_3_more' has no default translation.
warning: string 'accessibility_tutorial_lesson_2_text_4' has no default translation.
warning: string 'accessibility_tutorial_lesson_2_title' has no default translation.
warning: string 'accessibility_tutorial_next' has no default translation.
warning: string 'accessibility_tutorial_skip' has no default translation.
warning: string 'accessibility_tutorial_title' has no default translation.
warning: string 'agps_BEE_checkbox_on_summary' has no default translation.
warning: string 'agps_BEE_checkbox_title' has no default translation.
warning: string 'agps_SIMAB' has no default translation.
warning: string 'agps_SIMAB_listtitle' has no default translation.
warning: string 'agps_SIMAB_summary' has no default translation.
warning: string 'agps_advance_QOP_Delay_Accuracy_editbox_summary' has no default translation.
warning: string 'agps_advance_QOP_Delay_Accuracy_editbox_title' has no default translation.
warning: string 'agps_advance_QOP_Horizontal_Accuracy_editbox_summary' has no default translation.
warning: string 'agps_advance_QOP_Horizontal_Accuracy_editbox_title' has no default translation.
warning: string 'agps_advance_QOP_MiniLocAge_Accuracy_editbox_summary' has no default translation.
warning: string 'agps_advance_QOP_MiniLocAge_Accuracy_editbox_title' has no default translation.
warning: string 'agps_advance_QOP_Vertical_Accuracy_editbox_summary' has no default translation.
warning: string 'agps_advance_QOP_Vertical_Accuracy_editbox_title' has no default translation.
warning: string 'agps_advance_SET_ID_key' has no default translation.
warning: string 'agps_advance_category_QOP_GAD' has no default translation.
warning: string 'agps_category_operation' has no default translation.
warning: string 'agps_category_profile' has no default translation.
warning: string 'agps_category_timer' has no default translation.
warning: string 'agps_disable_on_reboot' has no default translation.
warning: string 'agps_disable_on_reboot_summary' has no default translation.
warning: string 'agps_em_indication' has no default translation.
warning: string 'agps_em_indication_summary_off' has no default translation.
warning: string 'agps_em_indication_summary_on' has no default translation.
warning: string 'agps_enable_confirm' has no default translation.
warning: string 'agps_enable_confirm_allow' has no default translation.
warning: string 'agps_enable_confirm_deny' has no default translation.
warning: string 'agps_enable_confirm_title' has no default translation.
warning: string 'agps_eng_SIMAB_request' has no default translation.
warning: string 'agps_eng_SIMAB_summary_request' has no default translation.
warning: string 'agps_log_SUPL_to_file' has no default translation.
warning: string 'agps_log_SUPL_to_file_enable' has no default translation.
warning: string 'agps_log_to_UART' has no default translation.
warning: string 'agps_log_to_UART_enable' has no default translation.
warning: string 'agps_log_to_file' has no default translation.
warning: string 'agps_log_to_file_enable' has no default translation.
warning: string 'agps_ni_iot_enable' has no default translation.
warning: string 'agps_ni_iot_enable_off' has no default translation.
warning: string 'agps_ni_iot_enable_on' has no default translation.
warning: string 'agps_profile_SLP_address_editbox_title' has no default translation.
warning: string 'agps_profile_screen_advacen_current_profile_summary' has no default translation.
warning: string 'agps_profile_select' has no default translation.
warning: string 'agps_profile_select_Summary' has no default translation.
warning: string 'agps_screen_profile_advance_summary' has no default translation.
warning: string 'agps_screen_profile_advance_title' has no default translation.
warning: string 'agps_screen_profile_reset_summary' has no default translation.
warning: string 'agps_screen_profile_reset_title' has no default translation.
warning: string 'agps_setting_eng_advance_screen_title' has no default translation.
warning: string 'agps_settings_enable' has no default translation.
warning: string 'agps_settings_enable_off' has no default translation.
warning: string 'agps_settings_enable_on' has no default translation.
warning: string 'agps_settings_eng_enable' has no default translation.
warning: string 'agps_settings_eng_summary' has no default translation.
warning: string 'agps_settings_title' has no default translation.
warning: string 'agps_str_error' has no default translation.
warning: string 'btn_cancel_msg' has no default translation.
warning: string 'btn_ok_msg' has no default translation.
warning: string 'cell_broadcast_settings_summary' has no default translation.
warning: string 'confirm_title' has no default translation.
warning: string 'day' has no default translation.
warning: string 'days' has no default translation.
warning: string 'disable_schpwr' has no default translation.
warning: string 'done' has no default translation.
warning: string 'eCID_Enable_Title' has no default translation.
warning: string 'eCID_enable_summary_off' has no default translation.
warning: string 'eCID_enable_summary_on' has no default translation.
warning: string 'enable_schpwr' has no default translation.
warning: string 'epo_about_message' has no default translation.
warning: string 'epo_about_title' has no default translation.
warning: string 'epo_auto_download_summary' has no default translation.
warning: string 'epo_auto_download_title' has no default translation.
warning: string 'epo_cancel_download' has no default translation.
warning: string 'epo_download' has no default translation.
warning: string 'epo_download_time_summary' has no default translation.
warning: string 'epo_download_time_title' has no default translation.
warning: string 'epo_enable_confirm_allow' has no default translation.
warning: string 'epo_enable_confirm_deny' has no default translation.
warning: string 'epo_enable_confirm_message' has no default translation.
warning: string 'epo_enable_confirm_title' has no default translation.
warning: string 'epo_enable_summary' has no default translation.
warning: string 'epo_enable_title' has no default translation.
warning: string 'epo_entrance_summary' has no default translation.
warning: string 'epo_entrance_title' has no default translation.
warning: string 'epo_err_update_failed' has no default translation.
warning: string 'epo_error_dialog_title' has no default translation.
warning: string 'epo_error_no_activite_network' has no default translation.
warning: string 'epo_expire_time_summary' has no default translation.
warning: string 'epo_expire_time_title' has no default translation.
warning: string 'epo_info_title' has no default translation.
warning: string 'epo_ok_btn' has no default translation.
warning: string 'epo_profile_address' has no default translation.
warning: string 'epo_profile_category' has no default translation.
warning: string 'epo_profile_name' has no default translation.
warning: string 'epo_profile_password' has no default translation.
warning: string 'epo_profile_port' has no default translation.
warning: string 'epo_profile_title' has no default translation.
warning: string 'epo_profile_usrname' has no default translation.
warning: string 'epo_start_time_summary' has no default translation.
warning: string 'epo_start_time_title' has no default translation.
warning: string 'epo_status_starting' has no default translation.
warning: string 'epo_status_stopping' has no default translation.
warning: string 'epo_update_period_summary' has no default translation.
warning: string 'epo_update_period_title' has no default translation.
warning: string 'epo_update_settings' has no default translation.
warning: string 'epo_warning_dialog_message' has no default translation.
warning: string 'epo_warning_dialog_title' has no default translation.
warning: string 'error_connecting' has no default translation.
warning: string 'every_day' has no default translation.
warning: string 'experimental_webview' has no default translation.
warning: string 'experimental_webview_summary' has no default translation.
warning: string 'gsm_to_wifi_connect_type_title' has no default translation.
warning: string 'hour' has no default translation.
warning: string 'hours' has no default translation.
warning: string 'minute' has no default translation.
warning: string 'minutes' has no default translation.
warning: string 'msg_battery_over_temperature' has no default translation.
warning: string 'msg_battery_over_voltage' has no default translation.
warning: string 'msg_charger_over_voltage' has no default translation.
warning: string 'msg_over_current_protection' has no default translation.
warning: string 'msg_safety_timer_timeout' has no default translation.
warning: string 'msg_wlan_signal_found' has no default translation.
warning: string 'never' has no default translation.
warning: string 'nfc_payment_ask' has no default translation.
warning: string 'password_mismatch' has no default translation.
warning: string 'password_set_failure' has no default translation.
warning: string 'password_set_successfully' has no default translation.
warning: string 'port_title' has no default translation.
warning: string 'print_services_title' has no default translation.
warning: string 'proxy_exclusionlist_label_cmcc' has no default translation.
warning: string 'revert' has no default translation.
warning: string 'schedule_power_off_set' has no default translation.
warning: string 'schedule_power_on_off_repeat' has no default translation.
warning: string 'schedule_power_on_off_set' has no default translation.
warning: string 'schedule_power_on_off_time' has no default translation.
warning: string 'schedule_power_on_set' has no default translation.
warning: string 'schpwr_shutdown_message' has no default translation.
warning: string 'schpwr_shutdown_message_second' has no default translation.
warning: string 'select_ssid_type_title' has no default translation.
warning: string 'supl_capability_list_dialog_title' has no default translation.
warning: string 'supl_capability_list_summary' has no default translation.
warning: string 'supl_capability_list_title' has no default translation.
warning: string 'title_battery_over_temperature' has no default translation.
warning: string 'title_battery_over_voltage' has no default translation.
warning: string 'title_charger_over_voltage' has no default translation.
warning: string 'title_over_current_protection' has no default translation.
warning: string 'title_safety_timer_timeout' has no default translation.
warning: string 'tls_summary_off' has no default translation.
warning: string 'tls_summary_on' has no default translation.
warning: string 'tls_title' has no default translation.
warning: string 'vibrate_on_ring_title' has no default translation.
warning: string 'wifi_configured_ap_list' has no default translation.
warning: string 'wifi_connect_ap_summary' has no default translation.
warning: string 'wifi_connect_type_title' has no default translation.
warning: string 'wifi_display_available_devices' has no default translation.
warning: string 'wifi_display_disconnect_text' has no default translation.
warning: string 'wifi_display_disconnect_title' has no default translation.
warning: string 'wifi_display_paired_devices' has no default translation.
warning: string 'wifi_display_search_for_devices' has no default translation.
warning: string 'wifi_display_searching_for_devices' has no default translation.
warning: string 'wifi_display_settings_empty_list_wifi_display_disabled' has no default translation.
warning: string 'wifi_display_settings_empty_list_wifi_display_off' has no default translation.
warning: string 'wifi_display_status_available' has no default translation.
warning: string 'wifi_display_summary_disabled' has no default translation.
warning: string 'wifi_display_summary_off' has no default translation.
warning: string 'wifi_display_summary_on' has no default translation.
warning: string 'wifi_network_netmask' has no default translation.
warning: string 'wifi_priority_changed' has no default translation.
warning: string 'wifi_priority_label' has no default translation.
warning: string 'wifi_priority_settings_label' has no default translation.
warning: string 'wifi_priority_settings_summary' has no default translation.
warning: string 'wifi_priority_settings_title' has no default translation.
warning: string 'wifi_priority_type_summary' has no default translation.
warning: string 'wifi_priority_type_title' has no default translation.
warning: string 'wifi_security_cmcc' has no default translation.
warning: string 'wifi_setting_connect_type_error' has no default translation.
warning: string 'wifi_signal_found_msg' has no default translation.
warning: string 'wimax_settings_summary' has no default translation.
C:\Program Files\Android\AdvancedApkTool\3-Out\Settings.apk\res\xml\settings_headers.xml:45: error: Error: No resource found that matches the given name (at 'id' with value '@id/about_advanced').

Exception in thread "main" brut.androlib.AndrolibException: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\Bilal\AppData\Local\Temp\brut_util_Jar_4769613081026373415.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-eng.android.1404206646, -F, C:\Users\Bilal\AppData\Local\Temp\APKTOOL8387722128441508558.tmp, -I, C:\Program Files\Android\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -I, C:\Program Files\Android\AdvancedApkTool\1-BDFreak\Frameworks\2.apk, -S, C:\Program Files\Android\AdvancedApkTool\3-Out\Settings.apk\res, -M, C:\Program Files\Android\AdvancedApkTool\3-Out\Settings.apk\AndroidManifest.xml]
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:442)
at brut.androlib.Androlib.buildResources(Androlib.java:379)
at brut.androlib.Androlib.build(Androlib.java:282)
at brut.androlib.Androlib.build(Androlib.java:255)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)
Caused by: brut.androlib.AndrolibException: brut.common.BrutException: could not exec command: [C:\Users\Bilal\AppData\Local\Temp\brut_util_Jar_4769613081026373415.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-eng.android.1404206646, -F, C:\Users\Bilal\AppData\Local\Temp\APKTOOL8387722128441508558.tmp, -I, C:\Program Files\Android\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -I, C:\Program Files\Android\AdvancedApkTool\1-BDFreak\Frameworks\2.apk, -S, C:\Program Files\Android\AdvancedApkTool\3-Out\Settings.apk\res, -M, C:\Program Files\Android\AdvancedApkTool\3-Out\Settings.apk\AndroidManifest.xml]
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:504)
at brut.androlib.Androlib.buildResourcesFull(Androlib.java:428)
... 5 more
Caused by: brut.common.BrutException: could not exec command: [C:\Users\Bilal\AppData\Local\Temp\brut_util_Jar_4769613081026373415.tmp, p, --forced-package-id, 127, --min-sdk-version, 19, --target-sdk-version, 19, --version-code, 19, --version-name, 4.4.2-eng.android.1404206646, -F, C:\Users\Bilal\AppData\Local\Temp\APKTOOL8387722128441508558.tmp, -I, C:\Program Files\Android\AdvancedApkTool\1-BDFreak\Frameworks\1.apk, -I, C:\Program Files\Android\AdvancedApkTool\1-BDFreak\Frameworks\2.apk, -S, C:\Program Files\Android\AdvancedApkTool\3-Out\Settings.apk\res, -M, C:\Program Files\Android\AdvancedApkTool\3-Out\Settings.apk\AndroidManifest.xml]
at brut.util.OS.exec(OS.java:89)
at brut.androlib.res.AndrolibResources.aaptPackage(AndrolibResources.java:498)
... 6 more

------------------------------------------------------ 

Bendede Bu hatayı recompile yaparken veriyor nasıl çözebilirim?
 
Üst