APK file error

Mobile Testing, Android App Testing.
Posts: 49
Joined: Tue Feb 03, 2015 2:32 am

APK file error

Post by Styris » Tue Feb 03, 2015 2:43 am

I am trying to launch a mobile recording test. On attempting to instrument with my APK file I am gettign this error
You do not have the required permissions to view the files attached to this post.

Posts: 2683
Joined: Tue Feb 07, 2012 4:14 pm
Location: Austin, Texas, USA

Re: APK file error

Post by krstcs » Tue Feb 03, 2015 3:55 pm

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.
Shortcuts usually aren't...

Posts: 4
Joined: Sat Mar 28, 2015 2:30 am

Re: APK file error

Post by anu321 » Mon Mar 30, 2015 8:10 pm

I follow the instruction still I am seeing the error please help.

User avatar
Support Team
Site Admin
Site Admin
Posts: 12145
Joined: Fri Jul 07, 2006 4:30 pm
Location: Houston, Texas, USA

Re: APK file error

Post by Support Team » Wed Apr 01, 2015 5:04 pm

Hi anu321,

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


Posts: 22
Joined: Sun Jun 07, 2015 1:16 pm

Re: APK file error

Post by HardyG » Tue Jun 09, 2015 3:48 pm

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,

Posts: 22
Joined: Sun Jun 07, 2015 1:16 pm

Re: APK file error

Post by HardyG » Mon Aug 31, 2015 8:05 am


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,

Posts: 82
Joined: Fri Oct 24, 2014 10:58 am
Location: Bucharest

Re: APK file error

Post by lucian.teodorescu » Tue Sep 08, 2015 2:56 pm


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.

Lucian Teodorescu
NetSun Software