Page 1 of 1

APK file error

Posted: Tue Feb 03, 2015 2:43 am
by Styris
I am trying to launch a mobile recording test. On attempting to instrument with my APK file I am gettign this error

Re: APK file error

Posted: Tue Feb 03, 2015 3:55 pm
by krstcs
Please follow the instructions in the user guide completely, this is very important.

http://www.ranorex.com/support/user-gui ... sting.html

Also, please ensure that you are meeting each of the requirements outlined in the error text.

Re: APK file error

Posted: Mon Mar 30, 2015 8:10 pm
by anu321
I follow the instruction still I am seeing the error please help.

Re: APK file error

Posted: Wed Apr 01, 2015 5:04 pm
by Support Team
Hi anu321,

May I ask you to send your apk to [email protected] for further analysis?

Thanks,
Markus

Re: APK file error

Posted: Tue Jun 09, 2015 3:48 pm
by HardyG
Hi there,

there are still bugs in the ApkTool which is used by Ranorex to instrument the target.
I had an issue to overcome in conjunction with Facebook integtarted in my app.
The Instrumentation went well but the instrumented app did start and close immediatly after that.
I found the bug (a XML misshandling by the ApkTool) and were able to fix this as a work arround by hand.
I also posted this bug to the ApkTool developpers and the confirmed to change this.
My last look at the release notes toled me, that the fix was not included in ApkTool 2.0 by now but I hope that it will be in the near future in a coming release.

Anyway you may have a compareble issue (with the ApkTool) which is not related to Ranorex itself.
Not sure if that helps...

Kind regads,
Hardy

Re: APK file error

Posted: Mon Aug 31, 2015 8:05 am
by HardyG
Hi,

even though Ranorex included ApkTool 2.0.1 in Ranorex release 5.4.1 the issue in the ApkTool (not in Ranorex)is not solved by now. I've been posting the issue to the ApkTool team quite a while ago and they stated that it's known. I don't know why it's not solved. There i've also posted a work around: https://github.com/wting/android-apktool/issues/780

Kind regards,
Hardy

Re: APK file error

Posted: Tue Sep 08, 2015 2:56 pm
by lucian.teodorescu
Hi,

I guess the problem posted in the screenshots is the short 'Instrument timeout' value (2 minutes). I used to see it when instrumenting apps of +5MB.
So go to Settings>Plugins>Mobile and set 'Instrument timeout' to 30m
That was the solution in my case.

Cheers,