since an automatic update of our Windows 10 machine, where Ranorex is running, I experienced some problems with Ranorex.
First the endpoints weren´t available anymore which could be fixed easily by adding them new and adapting the running script.
Then, after 2 runs, where the script stopped in the middle of nowhere, the instrumented app disappeared from the android device.
So I tried to instrument it again but ran into the mentioned Error stated in the subject of this post.
Here ist the full error message from the detail window:
So I looked up the path and couldn´t find it. I went back the path tillSystem.Exception: Failed to decompile the APK file. See details for more information: Error: Unable to access jarfile C:\WINDOWS\assembly\GAC_MSIL\Ranorex.Core.Injection\188.8.131.52__b798506b574ebc9a\RxEnv\Android\tools\apkTool\apktool.jar
at Ranorex.Plugin.Mobile.Tools.Android.Instrumentation.ApkFileInstrumenter.DecompileApkFile(String apkFilePath, Boolean showProcessWindows, IPathService pathService, InstrumentApkOptions deployOptions)
at Ranorex.Plugin.Mobile.Tools.Android.Instrumentation.ApkFileInstrumenter.Instrument(String apkFilePath, Int32 port, InstrumentApkOptions deployOptions, BackgroundWorker bgw)
at Ranorex.Controls.AndroidInstrumentProgressPage.bgw_DoWork(Object sender, DoWorkEventArgs e)
where I found only one dll (Ranorex.Core.Injection.dll)C:\WINDOWS\assembly\GAC_MSIL\Ranorex.Core.Injection\184.108.40.206__b798506b574ebc9a
Has anyone else experienced this problem ?
I have searched Windwos for "apktool.jar" and found it in several other places:
* C:\Program Files (x86)\Ranorex 7.2\Bin\RxEnv\Android\tools\apkTool
* C:\Program Files (x86)\Ranorex 7.2\Bin\RxEnv\AndroidBckp\tools\apkTool
* C:\Program Files (x86)\Ranorex 6.2\RanorexStudio\bin\RxEnv\Android\tools\apkTool
Any ideas ? Is there a way to change the search path to the .jar ?
Ranorex version: 7.2.0+git.ffdcf8e6
.NET Runtime Version: 4.0.30319.42000
Thanks for your help