Page 1 of 1

Manual Instrumentation of an APK file

Posted: Mon Apr 07, 2014 5:06 pm
by houseofcutler
We have an APK file that will not instrument using the wizard (separate issue has been logged with support for this). One of our developers is trying to follow the manual instrumentation instructions to see if we can get it working that way. http://www.ranorex.com/support/user-gui ... -code.html

My First question is probably a stupid one - How do I determine the automation library version? I do see this in the 'About' screen. Nor has googling and searching the forum provided any answers of how to find it?

The second question relates to "Add permissions to your manifest file"
uses-permission android:name="android.permission.INJECT_EVENTS"

The Developer is telling me that this cannot be added because the application is not a system application.
Is this correct and will this be a problem?

many thanks for your help

Ben

Re: Manual Instrumentation of an APK file

Posted: Thu Apr 10, 2014 2:11 pm
by Support Team
Hello houseofcutler,

The permission can be added to the manifest but is maybe not granted by the system. This should cause no problem since the permission is not really needed anymore.

The lib version was introduced with Ranorex version 5, the current library version is 1.5.0.

Regards,
Robert

Re: Manual Instrumentation of an APK file

Posted: Fri Apr 25, 2014 12:38 pm
by houseofcutler
Thank you for your response - thought I had already relied to this - I have passed on the info to our developers