APK Instrumentation failed

Mobile Testing, Android App Testing.
oubar
Posts: 8
Joined: Wed May 08, 2019 2:15 pm

APK Instrumentation failed

Post by oubar » Thu Dec 05, 2019 5:54 pm

Hello all,

i'm using Ranorex version 9.1.2 with Jre1.8.0_231, when i try to instrument my APK whith instrumentation Wizard, it's failes.

when i use this instrumentation flags : -static -multidex -nores -smali_redist

i have this log error :

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)

when i use this instrumentation flags : -static -multidex -smali_redist

i have this log error :

System.InvalidOperationException: Failed to recompile the instrumented code. See details for more information: 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_8837722472887843113.tmp, p, --forced-package-id, 127, --min-sdk-version, 15, --target-sdk-version, 25, --version-code, 372, --version-name, 3.72, --no-version-vectors, -F, C:\Users\obaratli\AppData\Local\Temp\APKTOOL6895420680361314350.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, assets/Scan/VehiclePub/AUTOVIN/BACKUP/InfoDiag, -0, txt, -0, idx, -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\apktool\framework\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)

Some help please

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA
Contact:

Re: APK Instrumentation failed

Post by Support Team » Fri Dec 06, 2019 2:06 pm

Hello Oubar,

Thank you for your post.

May I ask you to create a support request and send us the application?
We will have to analyze the *.apk file internally.

Thank you in advance.
Kind regards,

Stephan

oubar
Posts: 8
Joined: Wed May 08, 2019 2:15 pm

Re: APK Instrumentation failed

Post by oubar » Fri Dec 06, 2019 5:14 pm

Hello,

Thnak you for your response,

when i try te create a support request, it's ask me to enter the license key.
i'm a developper in a capany the license key is integrated in a server, my capany is ACTIA, i don't have acces to the license key number.