How to bypass an app's ability to know is being run on an emulator rather than a real device. I would like to install an app called entrust (from the play store) and be able to use it. My last try was to use an emulator called "Genymotion", but the app can detect that the app is being run on an emulator because I get this error: 

"Error: Manual Activation is not supported on an unsecured device." 


which I don't get if I'm running the app on a real device. Are there any ideas about how can I bypass this check and be able to run it using an emulator?

Thank you!
In general there are three ways to bypass an emulator check:


Modify the app and remove the emulator check.
Modify the emulator so that it pretends to be a real device.
Modify the system calls the app does for detecting it is running on an emulator


As you can see all three ways are not that simple, however the third way may be the easiest as there are some tools that can help you.

Back to option 1 - it requires a lot of development skills to decompile the app (e.g. using apktool to decompile it to Smali code), identify the emulator checks (and to bypass app integrity checks that may exist). 

Option 2 is even harder as it requires you to patch and recompile the Android emulator (which is available as source code).

Therefore from my point of view only option 3 is realistic for you. However it still may require some Java development.

You can install the XPosed framework onto your emulator. It allows to modify system calls the app uses for identifying that it is running on an emulator.
There are a some existing XPosed modules for hiding that a device is rooted or that it is running on an emulator. If you are luck there is an existing module working out-of-the box, letting you run your app on an emulator.