Instumentation Failed

Mobile Testing, Android App Testing.
Royela
Posts: 1
Joined: Mon Dec 14, 2020 6:23 am

Instumentation Failed

Post by Royela » Mon Dec 14, 2020 6:33 am

Hi All,

I tried instrumenting a .apk file however I always encounter this error.
Intrumentation failed for an unknown reason

Please make sure that
- The APK is not obfuscated
- You are using Android API level 8 or above

If the above case is already the case, you can also try instrumenting the apk with different advance settings (available from the instrumentation dialog).
If none of this works, please contact our support.

On the instrumentation dilaog I already set the multidex to true and smali redis to true.
Ranorex version is 9.3.2.
What settings should I set so that I could successfully instrument the .apk file?
Thank you!

theraviz
Posts: 85
Joined: Sun Apr 14, 2019 9:46 am

Re: Instumentation Failed

Post by theraviz » Thu Dec 24, 2020 7:43 am

Usually this error comes if the apk you are using is an Obfuscated version which should not be able to compile by the tool and hence the instrumentation failure.

You can check with your developers to provide the Non Obfuscated version of the app and try to use it.