-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Unknown command: tap #35
Comments
Hi.
Your device don't support tap command with adb.
Not sure if anything could be done
…On Fri, Jan 20, 2017, 02:54 Greg Hazel ***@***.***> wrote:
Running on the Nexus Q
16:53:40 [INFO ] [AbstractApplicationContext] - Refreshing ***@***.***: startup date [Thu Jan 19 16:53:40 PST 2017]; root of context hierarchy
16:53:46 [WARN ] [AutowiredAnnotationBeanPostProcessor] - Inconsistent constructor declaration on bean with name 'androidDeviceImpl': single autowire-marked constructor flagged as optional - this constructor is effectively required since there is no default constructor to fall back to: public com.github.xsavikx.androidscreencast.api.AndroidDeviceImpl(com.android.ddmlib.IDevice)
Error: Unknown command: tap
usage: input [text|keyevent]
input text <string>
input keyevent <event_code>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#35>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AFaaqbabAGYve04Q_IPi47z_qNYSQ29Sks5rUAXdgaJpZM4Loy5S>
.
|
Using monkeyrunner to emit a touch event works:
|
@ghazel probably it emits 2 I'd appreciate a PR with such fallback functionality when direct ADB |
I don't see it using |
@ghazel try to run |
|
@ghazel OK. So, Monkey uses its own implementation of the
And the
Anyway, Monkey uses their own implementation of events, that rely on For now, I don't know how to help you. The only possible way here I see — implement some fallback with |
AndroidScreencast does require the |
given we use adb to do this, it would be better for a broader compatibility to push an executable(i.e. modified input ) with adb to a temp folder and execute that instead of the native device executable. |
@Hattshire I do appreciate a PR with such modifications :-) |
Running on the Nexus Q
The text was updated successfully, but these errors were encountered: