The APK is not Obfuscated, you are using Android API level 8 or above - Android

Mobile Testing, Android App Testing.
erickgruber
Posts: 1
Joined: Thu Feb 03, 2022 2:37 pm

The APK is not Obfuscated, you are using Android API level 8 or above - Android

Post by erickgruber » Fri Feb 04, 2022 8:28 am

Hi,

I downloaded the latest version of the Ranorex (free trial). Can anyone help me with this issue?

Thank you.

System.InvalidOperationException: Failed to deploy the application via USB. adb: failed to install C:\Users\username\Documents\Ranorex\InstrumentedApk\SPF_v2.9.0-build_95-debug-instrumented.apk: Failure [INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.srp.spf signatures do not match previously installed version; ignoring!]

at Ranorex.Plugin.Mobile.Tools.Android.AndroidUsbDeploymentService.Deploy(String apkFilePath, String deviceInstance, IToolConfig config, Boolean reinstall)
at Ranorex.Plugin.Mobile.RxIntegration.Instrumentation.AndroidWorker.Deploy(String packageName, String toDeploy)
at Ranorex.Plugin.Mobile.RxIntegration.Instrumentation.AndroidWorker.Run()
at Ranorex.Controls.Instrumentation.ViewModels.Pages.DeployingAndroidAppPageViewModel.<>c__DisplayClass45_0.<DoAutoAdjustedInstrumentationWork>b__0()

Jacob
Certified Professional
Certified Professional
Posts: 120
Joined: Mon Mar 22, 2021 10:01 pm

Re: The APK is not Obfuscated, you are using Android API level 8 or above - Android

Post by Jacob » Fri Feb 04, 2022 10:38 pm

Hi erickgruber!

This can happen during the deployment phase if there is already an existing application installed on the device with the same package name (com.srp.spf in this case). If there is an existing application on the device, you should be able to remove the existing version and then install the instrumented version from the path in the message you sent over, or by instrumenting the application again. I hope this helps!

--Jacob
Image