Last updated: Jul 02, 2019 14:13
After installing the *.apk, the test runs but throws this error after the test is complete “Test running failed: Instrumentation run failed due to 'java.lang.SecurityException'”
You may also see an error that your app is requesting super user system level access (need UID= 1000) and the app process is denied.
The android OS itself is denying you access.
It is not expected that the app will ask for super user system access as UID 1000. Normally, this is only allowed on rooted devices.
Apps requesting root access probably work only on root devices, and this explain why the app works on local devices. However, the Perfecto devices are not rooted, so apps requesting root access will not act properly.
If the error appears there is an issue in the code and it is out of the Perfecto scope. The developers will need to debug this.