I have a new mobile app to automate, but when I try to instrument that I am getting the below error.
The developers has confirmed that the apk is Non obfuscated and the API version is 21.
What to do next?
Instrumentation Failure.
Instrumentation Failure.
You do not have the required permissions to view the files attached to this post.
Re: Instrumentation Failure.
Hi,
I'm afraid, it's impossible to tell what's wrong without seeing the app. I would suggest to start with instrumentation wizard settings... Enable for example "Debug" option and see, if there is something interesting in instrumentation log. Also, you may try to enable Multidex, Static and Redistribute smali options.
If nothing, helps, you will have to contact Ranorex support. But they may need access to the apk in question. Without analyzing it, there is almost no chance to help with this kind of error.
I'm afraid, it's impossible to tell what's wrong without seeing the app. I would suggest to start with instrumentation wizard settings... Enable for example "Debug" option and see, if there is something interesting in instrumentation log. Also, you may try to enable Multidex, Static and Redistribute smali options.
If nothing, helps, you will have to contact Ranorex support. But they may need access to the apk in question. Without analyzing it, there is almost no chance to help with this kind of error.
You do not have the required permissions to view the files attached to this post.
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Instrumentation Failure.
Hello Pavel,
Than you for the reply. I have already contacted the support and waiting reply.
By the way I have tried the advance setting (Different combination) but of no luck. I am getting the below error message.
Error Message :
System.InvalidOperationException: Failed to deploy the application via USB. adb: failed to install C:\Users\sd242\Documents\Ranorex\InstrumentedApk\NBK-IBG-instrumented.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE]
at Ranorex.Plugin.Mobile.Tools.Android.AndroidUsbDeploymentService.Deploy(String apkFilePath, String deviceInstance, IToolConfig config)
at Ranorex.Plugin.Mobile.RxIntegration.Instrumentation.AndroidWorker.Deploy(String packageName, String toDeploy)
at Ranorex.Plugin.Mobile.RxIntegration.Instrumentation.AndroidWorker.Run()
at Ranorex.Controls.AndroidInstrumentProgressPage.bgw_DoWork(Object sender, DoWorkEventArgs e)
Than you for the reply. I have already contacted the support and waiting reply.
By the way I have tried the advance setting (Different combination) but of no luck. I am getting the below error message.
Error Message :
System.InvalidOperationException: Failed to deploy the application via USB. adb: failed to install C:\Users\sd242\Documents\Ranorex\InstrumentedApk\NBK-IBG-instrumented.apk: Failure [INSTALL_FAILED_VERSION_DOWNGRADE]
at Ranorex.Plugin.Mobile.Tools.Android.AndroidUsbDeploymentService.Deploy(String apkFilePath, String deviceInstance, IToolConfig config)
at Ranorex.Plugin.Mobile.RxIntegration.Instrumentation.AndroidWorker.Deploy(String packageName, String toDeploy)
at Ranorex.Plugin.Mobile.RxIntegration.Instrumentation.AndroidWorker.Run()
at Ranorex.Controls.AndroidInstrumentProgressPage.bgw_DoWork(Object sender, DoWorkEventArgs e)
Re: Instrumentation Failure.
Hi,
Try to uninstall the existing app from Android device, before instrumenting and installing this new one. Check this post about INSTALL_FAILED_VERSION_DOWNGRADE error...
https://stackoverflow.com/questions/138 ... -downgrade
Try to uninstall the existing app from Android device, before instrumenting and installing this new one. Check this post about INSTALL_FAILED_VERSION_DOWNGRADE error...
https://stackoverflow.com/questions/138 ... -downgrade
Pavel Kudrys
Ranorex explorer at Descartes Systems
Please add these details to your questions:
Ranorex explorer at Descartes Systems
Please add these details to your questions:
- Ranorex Snapshot. Learn how to create one >here<
- Ranorex xPath of problematic element(s)
- Ranorex version
- OS version
- HW configuration
Re: Instrumentation Failure.
Thank you
It helped!
