App can't be deployed

Ask general questions here.
CluelessCoder
Posts: 4
Joined: Mon Mar 02, 2020 9:37 am

App can't be deployed

Post by CluelessCoder » Mon Mar 16, 2020 9:58 am

Hey,

for some reason I am not able to deploy/instrument the Salesforce One mobile app. The APK is extracted from the Google Play Store. Im always getting this error, i tried playing with some flags, static instrumentation, redistribute smali and mutlidex application. The error does not change. I'm pretty clueless at this point, I hope you can help me out.
stacktrace.png
stacktrace.png (15.49 KiB) Viewed 110 times

Greetings

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 6036
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: App can't be deployed

Post by odklizec » Mon Mar 16, 2020 10:02 am

Hi,

If you are not developer of the app, then there is most probably nothing you can do about it. Apps on google play store, are usually obfuscated and therefore, cannot be instrumented and deployed. So, if you want to test this app, you must ask developers of the app, to provide you with a non-obfuscated version of the apk. Also, make sure you are using most recent Ranorex 9.3.0 or at very least, 9.2.1.
Pavel Kudrys
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

CluelessCoder
Posts: 4
Joined: Mon Mar 02, 2020 9:37 am

Re: App can't be deployed

Post by CluelessCoder » Mon Mar 16, 2020 10:15 am

Thanks for the fast reply!

Oh I did not know that. I read about that restriction for iOS apps, but did not know that was the case for Android as well.
Well, that's unfortunate.

Greetings

User avatar
odklizec
Ranorex Guru
Ranorex Guru
Posts: 6036
Joined: Mon Aug 13, 2012 9:54 am
Location: Zilina, Slovakia

Re: App can't be deployed

Post by odklizec » Mon Mar 16, 2020 10:18 am

Hi,

Yes, this restriction apply for all mobile apps. Sadly, there is no workaround. I'm curious, why you would like to create autotest for 3rd party app? I mean, it does not make much sense, since you are clearly not a developer of the app? ;)
Pavel Kudrys
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

CluelessCoder
Posts: 4
Joined: Mon Mar 02, 2020 9:37 am

Re: App can't be deployed

Post by CluelessCoder » Mon Mar 16, 2020 10:37 am

We encrypt and tokenize Salesforce and O365 objects before they are sent to the server.
If you want to know more, check www.eperi.com :D