I have the same problem(although i have Android 2.3.7) and googling only led me here.
After a little research (looking into the input
-script, which in fact only launches the class com.android.commands.input.Input
) i found out that the "tap"-event is first available in android 4.1.1.
See: Input.java, if you browse to one version before you will see the difference.
It seems that it could be fairly easy to make that feature available in older versions just by replacing the Input-class, only if i knew an easy way to do this :) (although i do not know if the other APIs used in the generation of the tap event, e.g. injectPointerEvent
, are available in older versions.)
P.S.: I hope you are a member of the Resistance otherwise I may regret helping you :)