Action 'press_key' unsuccessful: java.lang.SecurityException:
Injecting to another application requires INJECT_EVENTS permission (RuntimeError)
That is the error I receive when Calabash encounters the press_back_button
command in a step definition. It works perfectly fine when executed through the console but generates that error in the test.
Can anyone help?
OS: OS X 10.10
Device: Genymotion v2.3.1 Android v4.4 emulation
calabash-android v0.5.5