Hi,
Im Using Ranonex last version 9.0.1, when i try to instrument my APK whith instrumentation Wizard, it's failes.
This is the command line :
Ranorex.Instrumentation.exe /apkfile:D:\MaxiDas.apk /skip:False /deploymode:NoDeploy /FullImageComparison:True /InstrumentationFlags:"-static -multidex -smali_redist" /EnableWebTesting:True /TreeSimplification:True /KeyStorePass:******* /KeyPass:******* /deploytimeout:0 /instrumenttimeout:0 /pagename:Android /help:False
i have also this detail :
System.InvalidOperationException: Failed to recompile the instrumented code. See details for more information: S: WARNING: Could not write to (C:\Users\obaratli\AppData\Local\apktool\framework), using C:\Users\obaratli\AppData\Local\Temp\ instead...
S: Please be aware this is a volatile directory and frameworks could go missing, please utilize --frame-path if the default storage directory is unavailable
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image C:\Users\obaratli\AppData\Local\RanorexStudio9\RxEnv\Android\temp\decomp\res\drawable-mdpi-v4\icon_pay_alipay.png
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image C:\Users\obaratli\AppData\Local\RanorexStudio9\RxEnv\Android\temp\decomp\res\drawable-mdpi-v4\icon_pay_success.png
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image C:\Users\obaratli\AppData\Local\RanorexStudio9\RxEnv\Android\temp\decomp\res\drawable-mdpi-v4\icon_pay_wechat.png
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image C:\Users\obaratli\AppData\Local\RanorexStudio9\RxEnv\Android\temp\decomp\res\drawable-mdpi-v4\order_get_fail.png
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image C:\Users\obaratli\AppData\Local\RanorexStudio9\RxEnv\Android\temp\decomp\res\drawable-mdpi-v4\pay_back.png
W: libpng error: Not a PNG file
W: ERROR: Failure processing PNG image C:\Users\obaratli\AppData\Local\RanorexStudio9\RxEnv\Android\temp\decomp\res\drawable-mdpi-v4\pay_info_bg.png
brut.androlib.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [C:\Users\obaratli\AppData\Local\Temp\brut_util_Jar_6868126822851818280.tmp, p, --forced-package-id, 127, --min-sdk-version, 15, --target-sdk-version, 25, --version-code, 365, --version-name, 3.65, --no-version-vectors, -F, C:\Users\obaratli\AppData\Local\Temp\APKTOOL4768733742378045384.tmp, -0, arsc, -0, META-INF/android.arch.core_runtime.version, -0, META-INF/android.arch.lifecycle_extensions.version, -0, META-INF/android.arch.lifecycle_runtime.version, -0, dgc, -0, jar, -0, assets/Scan/Data/DTC/template/VERSION, -0, png, -0, jpg, -0, gif, -0, assets/Scan/PubTab/VERSION, -0, mp3, -0, properties, -0, so, -0, res/drawable-hdpi-v4/abc_ab_share_pack_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_btn_switch_to_on_mtrl_00001.9.png, -0, res/drawable-hdpi-v4/abc_btn_switch_to_on_mtrl_00012.9.png, -0, res/drawable-hdpi-v4/abc_cab_background_top_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_list_divider_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_list_focused_holo.9.png, -0, res/drawable-hdpi-v4/abc_list_longpressed_holo.9.png, -0, res/drawable-hdpi-v4/abc_list_pressed_holo_dark.9.png, -0, res/drawable-hdpi-v4/abc_list_pressed_holo_light.9.png, -0, res/drawable-hdpi-v4/abc_list_selector_disabled_holo_dark.9.png, -0, res/drawable-hdpi-v4/abc_list_selector_disabled_holo_light.9.png, -0, res/drawable-hdpi-v4/abc_menu_hardkey_panel_mtrl_mult.9.png, -0, res/drawable-hdpi-v4/abc_popup_background_mtrl_mult.9.png, -0, res/drawable-hdpi-v4/abc_scrubber_primary_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_scrubber_track_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-hdpi-v4/abc_switch_track_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_tab_indicator_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_textfield_activated_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_textfield_default_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_textfield_search_activated_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/abc_textfield_search_default_mtrl_alpha.9.png, -0, res/drawable-hdpi-v4/bubble.9.png, -0, res/drawable-hdpi-v4/dropdown_popup_background_down.9.png, -0, res/drawable-hdpi-v4/dropdown_popup_background_up.9.png, -0, res/drawable-hdpi-v4/notification_bg_low_normal.9.png, -0, res/drawable-hdpi-v4/notification_bg_low_pressed.9.png, -0, res/drawable-hdpi-v4/notification_bg_normal.9.png, -0, res/drawable-hdpi-v4/notification_bg_normal_pressed.9.png, -0, res/drawable-hdpi-v4/ondemand_overlay.9.png, -0, res/drawable-ldrtl-hdpi-v17/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-ldrtl-mdpi-v17/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-ldrtl-xhdpi-v17/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-ldrtl-xxhdpi-v17/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-ldrtl-xxxhdpi-v17/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-mdpi-v4/abc_ab_share_pack_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_btn_switch_to_on_mtrl_00001.9.png, -0, res/drawable-mdpi-v4/abc_btn_switch_to_on_mtrl_00012.9.png, -0, res/drawable-mdpi-v4/abc_cab_background_top_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_list_divider_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_list_focused_holo.9.png, -0, res/drawable-mdpi-v4/abc_list_longpressed_holo.9.png, -0, res/drawable-mdpi-v4/abc_list_pressed_holo_dark.9.png, -0, res/drawable-mdpi-v4/abc_list_pressed_holo_light.9.png, -0, res/drawable-mdpi-v4/abc_list_selector_disabled_holo_dark.9.png, -0, res/drawable-mdpi-v4/abc_list_selector_disabled_holo_light.9.png, -0, res/drawable-mdpi-v4/abc_menu_hardkey_panel_mtrl_mult.9.png, -0, res/drawable-mdpi-v4/abc_popup_background_mtrl_mult.9.png, -0, res/drawable-mdpi-v4/abc_scrubber_primary_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_scrubber_track_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-mdpi-v4/abc_switch_track_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_tab_indicator_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_textfield_activated_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_textfield_default_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_textfield_search_activated_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/abc_textfield_search_default_mtrl_alpha.9.png, -0, res/drawable-mdpi-v4/acttest_lockfirst.9.png, -0, res/drawable-mdpi-v4/acttest_lockfirst_noover.9.png, -0, res/drawable-mdpi-v4/analog_max_bg.9.png, -0, res/drawable-mdpi-v4/autel_add_note_background001.9.png, -0, res/drawable-mdpi-v4/autel_help_back.9.png, -0, res/drawable-mdpi-v4/back_name_input.9.png, -0, res/drawable-mdpi-v4/bg_update_listbg.9.png, -0, res/drawable-mdpi-v4/blue_normal.9.png, -0, res/drawable-mdpi-v4/blue_normal_new.9.png, -0, res/drawable-mdpi-v4/blue_press.9.png, -0, res/drawable-mdpi-v4/blue_segment_line.9.png, -0, res/drawable-mdpi-v4/box.9.png, -0, res/drawable-mdpi-v4/button_72_72_normal.9.png, -0, res/drawable-mdpi-v4/button_72_72_press.9.png, -0, res/drawable-mdpi-v4/camera_title_left_normal.9.png, -0, res/drawable-mdpi-v4/camera_title_left_sel.9.png, -0, res/drawable-mdpi-v4/camera_title_right_normal.9.png, -0, res/drawable-mdpi-v4/camera_title_right_sel.9.png, -0, res/drawable-mdpi-v4/center_button_normal.9.png, -0, res/drawable-mdpi-v4/center_button_pressed.9.png, -0, res/drawable-mdpi-v4/chat_msg_resend.9.png, -0, res/drawable-mdpi-v4/chat_text_background.9.png, -0, res/drawable-mdpi-v4/chat_title_background.9.png, -0, res/drawable-mdpi-v4/check_box_head_bg.9.png, -0, res/drawable-mdpi-v4/chs_back.9.png, -0, res/drawable-mdpi-v4/diag_title.9.png, -0, res/drawable-mdpi-v4/diag_title_online.9.png, -0, res/drawable-mdpi-v4/dialog_button.9.png, -0, res/drawable-mdpi-v4/dialog_input_background_bg.9.png, -0, res/drawable-mdpi-v4/dialog_input_content_bg.9.png, -0, res/drawable-mdpi-v4/dialog_input_title_bg.9.png, -0, res/drawable-mdpi-v4/dialog_white_background.9.png, -0, res/drawable-mdpi-v4/dialog_white_button_normal.9.png, -0, res/drawable-mdpi-v4/dialog_white_title_background.9.png, -0, res/drawable-mdpi-v4/dl_save_backg.9.png, -0, res/drawable-mdpi-v4/dl_save_gray_backg.9.png, -0, res/drawable-mdpi-v4/ecu_list_bg.9.png, -0, res/drawable-mdpi-v4/ecu_list_bottom.9.png, -0, res/drawable-mdpi-v4/ecu_list_top.9.png, -0, res/drawable-mdpi-v4/edittext_bg.9.png, -0, res/drawable-mdpi-v4/file_control_pressed.9.png, -0, res/drawable-mdpi-v4/file_control_unpressed.9.png, -0, res/drawable-mdpi-v4/gm_list_select_bg.9.png, -0, res/drawable-mdpi-v4/graph_btn_enlargex_bg.9.png, -0, res/drawable-mdpi-v4/graph_btn_enlargex_bg_gary.9.png, -0, res/drawable-mdpi-v4/gray_bg.9.png, -0, res/drawable-mdpi-v4/headview_bg.9.png, -0, res/drawable-mdpi-v4/icon_cover_null.9.png, -0, res/drawable-mdpi-v4/item_update_updatenormal.9.png, -0, res/drawable-mdpi-v4/item_update_updatepress.9.png, -0, res/drawable-mdpi-v4/left_button_normal.9.png, -0, res/drawable-mdpi-v4/left_button_pressed.9.png, -0, res/drawable-mdpi-v4/linebg.9.png, -0, res/drawable-mdpi-v4/linebg1.9.png, -0, res/drawable-mdpi-v4/list_bg_bottom.9.png, -0, res/drawable-mdpi-v4/list_bg_top.9.png, -0, res/drawable-mdpi-v4/list_item_bg.9.png, -0, res/drawable-mdpi-v4/list_item_bg_focus.9.png, -0, res/drawable-mdpi-v4/list_update_item_greey.9.png, -0, res/drawable-mdpi-v4/list_update_item_white.9.png, -0, res/drawable-mdpi-v4/main_titlebar_bg.9.png, -0, res/drawable-mdpi-v4/notification_bg_low_normal.9.png, -0, res/drawable-mdpi-v4/notification_bg_low_pressed.9.png, -0, res/drawable-mdpi-v4/notification_bg_normal.9.png, -0, res/drawable-mdpi-v4/notification_bg_normal_pressed.9.png, -0, res/drawable-mdpi-v4/pop_bg.9.png, -0, res/drawable-mdpi-v4/pop_has_title_bg.9.png, -0, res/drawable-mdpi-v4/pop_has_title_bg_down.9.png, -0, res/drawable-mdpi-v4/pop_no_title_bg.9.png, -0, res/drawable-mdpi-v4/pop_sortbg.9.png, -0, res/drawable-mdpi-v4/pop_sortbg2.9.png, -0, res/drawable-mdpi-v4/pop_top_button_normal.9.png, -0, res/drawable-mdpi-v4/pop_top_button_press.9.png, -0, res/drawable-mdpi-v4/pop_window_bg.9.png, -0, res/drawable-mdpi-v4/received_background_pressed.9.png, -0, res/drawable-mdpi-v4/received_background_unpressed.9.png, -0, res/drawable-mdpi-v4/received_img_background_pressed.9.png, -0, res/drawable-mdpi-v4/received_img_background_unpressed.9.png, -0, res/drawable-mdpi-v4/right_button_normal.9.png, -0, res/drawable-mdpi-v4/right_button_pressed.9.png, -0, res/drawable-mdpi-v4/search_button_selected.9.png, -0, res/drawable-mdpi-v4/search_button_unselected.9.png, -0, res/drawable-mdpi-v4/search_frame.9.png, -0, res/drawable-mdpi-v4/send_background_pressed.9.png, -0, res/drawable-mdpi-v4/send_background_unpressed.9.png, -0, res/drawable-mdpi-v4/send_button_pressed.9.png, -0, res/drawable-mdpi-v4/send_button_unpressed.9.png, -0, res/drawable-mdpi-v4/send_record_pressed.9.png, -0, res/drawable-mdpi-v4/send_record_unpressed.9.png, -0, res/drawable-mdpi-v4/setup_left_normal_button.9.png, -0, res/drawable-mdpi-v4/setup_left_pressed_button.9.png, -0, res/drawable-mdpi-v4/setup_list_item_bg.9.png, -0, res/drawable-mdpi-v4/setup_right_normal_button.9.png, -0, res/drawable-mdpi-v4/setup_right_pressed_button.9.png, -0, res/drawable-mdpi-v4/shop_manager_dtc_left_title.9.png, -0, res/drawable-mdpi-v4/shop_manager_dtc_mid_title.9.png, -0, res/drawable-mdpi-v4/shop_manager_dtc_right_title.9.png, -0, res/drawable-mdpi-v4/shopmanager_historicaltest.9.png, -0, res/drawable-mdpi-v4/shopmanager_historicaltest_click.9.png, -0, res/drawable-mdpi-v4/shopmanager_listviewhead.9.png, -0, res/drawable-mdpi-v4/single.9.png, -0, res/drawable-mdpi-v4/single_normal.9.png, -0, res/drawable-mdpi-v4/single_press.9.png, -0, res/drawable-mdpi-v4/skip_ad_blue_press.9.png, -0, res/drawable-mdpi-v4/skip_ad_normal.9.png, -0, res/drawable-mdpi-v4/sort_item_bg.9.png, -0, res/drawable-mdpi-v4/sort_item_bg_selected.9.png, -0, res/drawable-mdpi-v4/support_item_divider_bg.9.png, -0, res/drawable-mdpi-v4/support_item_selected_bg.9.png, -0, res/drawable-mdpi-v4/tab_blue_head.9.png, -0, res/drawable-mdpi-v4/tab_blue_last.9.png, -0, res/drawable-mdpi-v4/tab_glay_frist.9.png, -0, res/drawable-mdpi-v4/tab_glay_head.9.png, -0, res/drawable-mdpi-v4/tab_glay_last.9.png, -0, res/drawable-mdpi-v4/tpms_pop_back_test.9.png, -0, res/drawable-mdpi-v4/tpms_pop_bg.9.png, -0, res/drawable-mdpi-v4/tpms_pop_item_bg.9.png, -0, res/drawable-mdpi-v4/tpms_pop_item_bg_selected.9.png, -0, res/drawable-mdpi-v4/vci_update_button_pressed.9.png, -0, res/drawable-mdpi-v4/vci_update_button_unpressed.9.png, -0, res/drawable-mdpi-v4/window_toolbar_bg.9.png, -0, res/drawable-xhdpi-v4/abc_ab_share_pack_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_btn_switch_to_on_mtrl_00001.9.png, -0, res/drawable-xhdpi-v4/abc_btn_switch_to_on_mtrl_00012.9.png, -0, res/drawable-xhdpi-v4/abc_cab_background_top_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_list_divider_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_list_focused_holo.9.png, -0, res/drawable-xhdpi-v4/abc_list_longpressed_holo.9.png, -0, res/drawable-xhdpi-v4/abc_list_pressed_holo_dark.9.png, -0, res/drawable-xhdpi-v4/abc_list_pressed_holo_light.9.png, -0, res/drawable-xhdpi-v4/abc_list_selector_disabled_holo_dark.9.png, -0, res/drawable-xhdpi-v4/abc_list_selector_disabled_holo_light.9.png, -0, res/drawable-xhdpi-v4/abc_menu_hardkey_panel_mtrl_mult.9.png, -0, res/drawable-xhdpi-v4/abc_popup_background_mtrl_mult.9.png, -0, res/drawable-xhdpi-v4/abc_scrubber_primary_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_scrubber_track_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_switch_track_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_tab_indicator_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_textfield_activated_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_textfield_default_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_textfield_search_activated_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/abc_textfield_search_default_mtrl_alpha.9.png, -0, res/drawable-xhdpi-v4/acttest_lockfirst.9.png, -0, res/drawable-xhdpi-v4/acttest_lockfirst_noover.9.png, -0, res/drawable-xhdpi-v4/analog_max_bg.9.png, -0, res/drawable-xhdpi-v4/autel_add_note_background001.9.png, -0, res/drawable-xhdpi-v4/bg_update_listbg.9.png, -0, res/drawable-xhdpi-v4/blue_normal.9.png, -0, res/drawable-xhdpi-v4/blue_press.9.png, -0, res/drawable-xhdpi-v4/blue_segment_line.9.png, -0, res/drawable-xhdpi-v4/box.9.png, -0, res/drawable-xhdpi-v4/bubble.9.png, -0, res/drawable-xhdpi-v4/button_72_72_normal.9.png, -0, res/drawable-xhdpi-v4/button_72_72_press.9.png, -0, res/drawable-xhdpi-v4/chat_msg_resend.9.png, -0, res/drawable-xhdpi-v4/chat_text_background.9.png, -0, res/drawable-xhdpi-v4/chat_title_background.9.png, -0, res/drawable-xhdpi-v4/check_box_head_bg.9.png, -0, res/drawable-xhdpi-v4/diag_title.9.png, -0, res/drawable-xhdpi-v4/diag_title_online.9.png, -0, res/drawable-xhdpi-v4/dialog_button.9.png, -0, res/drawable-xhdpi-v4/dialog_input_background_bg.9.png, -0, res/drawable-xhdpi-v4/dialog_input_content_bg.9.png, -0, res/drawable-xhdpi-v4/dialog_input_title_bg.9.png, -0, res/drawable-xhdpi-v4/dialog_white_background.9.png, -0, res/drawable-xhdpi-v4/dialog_white_button_normal.9.png, -0, res/drawable-xhdpi-v4/dialog_white_title_background.9.png, -0, res/drawable-xhdpi-v4/dl_save_backg.9.png, -0, res/drawable-xhdpi-v4/dl_save_gray_backg.9.png, -0, res/drawable-xhdpi-v4/dropdown_popup_background_down.9.png, -0, res/drawable-xhdpi-v4/dropdown_popup_background_up.9.png, -0, res/drawable-xhdpi-v4/ecu_list_bg.9.png, -0, res/drawable-xhdpi-v4/ecu_list_bottom.9.png, -0, res/drawable-xhdpi-v4/ecu_list_top.9.png, -0, res/drawable-xhdpi-v4/edittext_bg.9.png, -0, res/drawable-xhdpi-v4/file_control_pressed.9.png, -0, res/drawable-xhdpi-v4/file_control_unpressed.9.png, -0, res/drawable-xhdpi-v4/gm_list_select_bg.9.png, -0, res/drawable-xhdpi-v4/gray_bg.9.png, -0, res/drawable-xhdpi-v4/headview_bg.9.png, -0, res/drawable-xhdpi-v4/icon_cover_null.9.png, -0, res/drawable-xhdpi-v4/item_update_updatenormal.9.png, -0, res/drawable-xhdpi-v4/item_update_updatepress.9.png, -0, res/drawable-xhdpi-v4/linebg.9.png, -0, res/drawable-xhdpi-v4/linebg1.9.png, -0, res/drawable-xhdpi-v4/list_bg_bottom.9.png, -0, res/drawable-xhdpi-v4/list_bg_top.9.png, -0, res/drawable-xhdpi-v4/list_item_bg.9.png, -0, res/drawable-xhdpi-v4/list_item_bg_focus.9.png, -0, res/drawable-xhdpi-v4/list_update_item_greey.9.png, -0, res/drawable-xhdpi-v4/list_update_item_white.9.png, -0, res/drawable-xhdpi-v4/notification_bg_low_normal.9.png, -0, res/drawable-xhdpi-v4/notification_bg_low_pressed.9.png, -0, res/drawable-xhdpi-v4/notification_bg_normal.9.png, -0, res/drawable-xhdpi-v4/notification_bg_normal_pressed.9.png, -0, res/drawable-xhdpi-v4/ondemand_overlay.9.png, -0, res/drawable-xhdpi-v4/pop_bg.9.png, -0, res/drawable-xhdpi-v4/pop_has_title_bg.9.png, -0, res/drawable-xhdpi-v4/pop_has_title_bg_down.9.png, -0, res/drawable-xhdpi-v4/pop_no_title_bg.9.png, -0, res/drawable-xhdpi-v4/pop_top_button_normal.9.png, -0, res/drawable-xhdpi-v4/pop_top_button_press.9.png, -0, res/drawable-xhdpi-v4/pop_window_bg.9.png, -0, res/drawable-xhdpi-v4/received_background_pressed.9.png, -0, res/drawable-xhdpi-v4/received_background_unpressed.9.png, -0, res/drawable-xhdpi-v4/received_img_background_pressed.9.png, -0, res/drawable-xhdpi-v4/received_img_background_unpressed.9.png, -0, res/drawable-xhdpi-v4/search_bac.9.png, -0, res/drawable-xhdpi-v4/search_button_selected.9.png, -0, res/drawable-xhdpi-v4/search_button_unselected.9.png, -0, res/drawable-xhdpi-v4/search_frame.9.png, -0, res/drawable-xhdpi-v4/send_background_pressed.9.png, -0, res/drawable-xhdpi-v4/send_background_unpressed.9.png, -0, res/drawable-xhdpi-v4/send_button_pressed.9.png, -0, res/drawable-xhdpi-v4/send_button_unpressed.9.png, -0, res/drawable-xhdpi-v4/send_record_pressed.9.png, -0, res/drawable-xhdpi-v4/send_record_unpressed.9.png, -0, res/drawable-xhdpi-v4/setup_left_normal_button.9.png, -0, res/drawable-xhdpi-v4/setup_left_pressed_button.9.png, -0, res/drawable-xhdpi-v4/setup_list_item_bg.9.png, -0, res/drawable-xhdpi-v4/setup_right_normal_button.9.png, -0, res/drawable-xhdpi-v4/setup_right_pressed_button.9.png, -0, res/drawable-xhdpi-v4/shop_manager_dtc_left_title.9.png, -0, res/drawable-xhdpi-v4/shop_manager_dtc_mid_title.9.png, -0, res/drawable-xhdpi-v4/shop_manager_dtc_right_title.9.png, -0, res/drawable-xhdpi-v4/shopmanager_historicaltest.9.png, -0, res/drawable-xhdpi-v4/shopmanager_historicaltest_click.9.png, -0, res/drawable-xhdpi-v4/shopmanager_listviewhead.9.png, -0, res/drawable-xhdpi-v4/single_normal.9.png, -0, res/drawable-xhdpi-v4/single_press.9.png, -0, res/drawable-xhdpi-v4/slide_shadow_left.9.png, -0, res/drawable-xhdpi-v4/sort_item_bg.9.png, -0, res/drawable-xhdpi-v4/sort_item_bg_selected.9.png, -0, res/drawable-xhdpi-v4/support_item_divider_bg.9.png, -0, res/drawable-xhdpi-v4/support_item_selected_bg.9.png, -0, res/drawable-xhdpi-v4/tab_blue_head.9.png, -0, res/drawable-xhdpi-v4/tab_blue_last.9.png, -0, res/drawable-xhdpi-v4/tab_glay_frist.9.png, -0, res/drawable-xhdpi-v4/tab_glay_head.9.png, -0, res/drawable-xhdpi-v4/tab_glay_last.9.png, -0, res/drawable-xhdpi-v4/tpms_check_progress_bg.9.png, -0, res/drawable-xhdpi-v4/tpms_check_progress_foreground.9.png, -0, res/drawable-xhdpi-v4/vci_update_button_pressed.9.png, -0, res/drawable-xhdpi-v4/vci_update_button_unpressed.9.png, -0, res/drawable-xxhdpi-v4/abc_ab_share_pack_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_btn_switch_to_on_mtrl_00001.9.png, -0, res/drawable-xxhdpi-v4/abc_btn_switch_to_on_mtrl_00012.9.png, -0, res/drawable-xxhdpi-v4/abc_cab_background_top_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_list_divider_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_list_focused_holo.9.png, -0, res/drawable-xxhdpi-v4/abc_list_longpressed_holo.9.png, -0, res/drawable-xxhdpi-v4/abc_list_pressed_holo_dark.9.png, -0, res/drawable-xxhdpi-v4/abc_list_pressed_holo_light.9.png, -0, res/drawable-xxhdpi-v4/abc_list_selector_disabled_holo_dark.9.png, -0, res/drawable-xxhdpi-v4/abc_list_selector_disabled_holo_light.9.png, -0, res/drawable-xxhdpi-v4/abc_menu_hardkey_panel_mtrl_mult.9.png, -0, res/drawable-xxhdpi-v4/abc_popup_background_mtrl_mult.9.png, -0, res/drawable-xxhdpi-v4/abc_scrubber_primary_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_scrubber_track_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_switch_track_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_tab_indicator_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_textfield_activated_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_textfield_default_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_textfield_search_activated_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/abc_textfield_search_default_mtrl_alpha.9.png, -0, res/drawable-xxhdpi-v4/bg_option_dialog.9.png, -0, res/drawable-xxxhdpi-v4/abc_btn_switch_to_on_mtrl_00001.9.png, -0, res/drawable-xxxhdpi-v4/abc_btn_switch_to_on_mtrl_00012.9.png, -0, res/drawable-xxxhdpi-v4/abc_spinner_mtrl_am_alpha.9.png, -0, res/drawable-xxxhdpi-v4/abc_switch_track_mtrl_alpha.9.png, -0, res/drawable-xxxhdpi-v4/abc_tab_indicator_mtrl_alpha.9.png, -0, res/drawable/bubble.9.png, -0, res/drawable/dropdown_popup_background_down.9.png, -0, res/drawable/dropdown_popup_background_up.9.png, -0, res/drawable/ondemand_overlay.9.png, -0, res/drawable/time_progress_bg.9.png, -0, res/mipmap-xxhdpi-v4/bg_dialog.9.png, -0, res/mipmap-xxhdpi-v4/bg_path_first.9.png, -0, res/mipmap-xxhdpi-v4/bg_path_second.9.png, -0, wav, -0, ogg, -0, arsc, -I, C:\Users\obaratli\AppData\Local\Temp\1.apk, -S, C:\Users\obaratli\AppData\Local\RanorexStudio9\RxEnv\Android\temp\decomp\res, -M, C:\Users\obaratli\AppData\Local\RanorexStudio9\RxEnv\Android\temp\decomp\AndroidManifest.xml]
à Ranorex.Plugin.Mobile.Tools.Android.Instrumentation.ApkFileInstrumenter.CompileApkFile(String sourceApkFilePath, IPathService pathService)
à Ranorex.Plugin.Mobile.Utils.BackgroundWorkerSupported.ExecuteBgwCode[TArg0,TArg1](BgwDelegate`2 methodDelegate, Int32 doneProgress, String progressText, TArg0 arg0, TArg1 arg1, BackgroundWorker bgw)
à Ranorex.Plugin.Mobile.Tools.Android.Instrumentation.ApkFileInstrumenter.Instrument(String apkFilePath, InstrumentApkOptions deployOptions, BackgroundWorker bgw)
à Ranorex.Plugin.Mobile.RxIntegration.Instrumentation.AndroidWorker.Run()
à Ranorex.Controls.AndroidInstrumentProgressPage.bgw_DoWork(Object sender, DoWorkEventArgs e)
PS : I have the latest apktool.jar
Can you help me ?
Instrumented Android APK failed (Error occurred)
Re: Instrumented Android APK failed (Error occurred)
hi,
try updating Ranorex to 9.1.2 and use the -nores instrumentation flag.
This flag was intruduced in Ranorex 9.1.2 and avoids resource files from being decompiled and compiled.
It should help in your case.
regards, qwertzu
try updating Ranorex to 9.1.2 and use the -nores instrumentation flag.
This flag was intruduced in Ranorex 9.1.2 and avoids resource files from being decompiled and compiled.
It should help in your case.
regards, qwertzu
Re: Instrumented Android APK failed (Error occurred)
Hi qwertzu,
thank you for your replay, i'm now on version 9.1.2.
I tried instrumentation bu using the new flag, (i used this flags -static -multidex -nores -smali_redist).
I have now this errors :
System.NotSupportedException: AndroidManifest.xml is of unsupported/unrecognized file format. Expected file formats are pure human readable xml or Android xml binary format.
à Ranorex.Plugin.Mobile.Tools.Android.Instrumentation.AndroidManifest.ReadAndroidManifest(String fileName)
à Ranorex.Plugin.Mobile.Tools.Android.Instrumentation.ApkFileInstrumenter.ProcessManifest(String manifestPath, DecompileInfo& dcInfo, InstrumentApkOptions instrumentOptions)
à Ranorex.Plugin.Mobile.Tools.Android.Instrumentation.ApkFileInstrumenter.DecompileApkFile(String apkFilePath, Boolean showProcessWindows, IPathService pathService, InstrumentApkOptions deployOptions)
à Ranorex.Plugin.Mobile.Tools.Android.Instrumentation.ApkFileInstrumenter.Instrument(String apkFilePath, InstrumentApkOptions deployOptions, BackgroundWorker bgw)
à Ranorex.Plugin.Mobile.RxIntegration.Instrumentation.AndroidWorker.Run()
à Ranorex.Controls.AndroidInstrumentProgressPage.bgw_DoWork(Object sender, DoWorkEventArgs e)
Any idea ?
thank you for your replay, i'm now on version 9.1.2.
I tried instrumentation bu using the new flag, (i used this flags -static -multidex -nores -smali_redist).
I have now this errors :
System.NotSupportedException: AndroidManifest.xml is of unsupported/unrecognized file format. Expected file formats are pure human readable xml or Android xml binary format.
à Ranorex.Plugin.Mobile.Tools.Android.Instrumentation.AndroidManifest.ReadAndroidManifest(String fileName)
à Ranorex.Plugin.Mobile.Tools.Android.Instrumentation.ApkFileInstrumenter.ProcessManifest(String manifestPath, DecompileInfo& dcInfo, InstrumentApkOptions instrumentOptions)
à Ranorex.Plugin.Mobile.Tools.Android.Instrumentation.ApkFileInstrumenter.DecompileApkFile(String apkFilePath, Boolean showProcessWindows, IPathService pathService, InstrumentApkOptions deployOptions)
à Ranorex.Plugin.Mobile.Tools.Android.Instrumentation.ApkFileInstrumenter.Instrument(String apkFilePath, InstrumentApkOptions deployOptions, BackgroundWorker bgw)
à Ranorex.Plugin.Mobile.RxIntegration.Instrumentation.AndroidWorker.Run()
à Ranorex.Controls.AndroidInstrumentProgressPage.bgw_DoWork(Object sender, DoWorkEventArgs e)
Any idea ?
Re: Instrumented Android APK failed (Error occurred)
hi,
seems like your android manifest is somehow in a wrong format.
maybe the file is corrupt?
regards, qwertzu
seems like your android manifest is somehow in a wrong format.
maybe the file is corrupt?
regards, qwertzu
- Support Team
- Site Admin
- Posts: 12167
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Graz, Austria
Re: Instrumented Android APK failed (Error occurred)
Hello Oubar,
May I ask you to raise a support query and attach your *.apk?
This would help us to analyze your app and see if we have issues with our -nores flag.
Thanks you.
Regards, Stephan
May I ask you to raise a support query and attach your *.apk?
This would help us to analyze your app and see if we have issues with our -nores flag.
Thanks you.
Regards, Stephan