appetizerio / replaykit

[DEPRECATED] Command line tools for recording, replaying and mirroring touchscreen events for Android

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

replay 不响应.

ch4r04 opened this issue · comments

hyadeiMac:darwin hya$ appetizer trace replay test.trace 0
preparing daemons for 0 devices
appetizer> Replay started
Replay finished
All done

我用这个方法重放录屏触摸,但是手机上没有响应,而且重放后终端无法输入,只能按control+d退出,使用的是mac版本。
启动好像也有错误:

hyadeiMac:~ hya$ appetizer -h
usage: appetizer [-h] {version,trace,adb,devices,plan} ...

positional arguments:
  {version,trace,adb,devices,plan}
                        commands
    version             Print the version information and exit
    trace               Record and replay touchscreen events
    adb                 Control the local ADB
    devices             Command devices
    plan                Compose and execute a test plan file

optional arguments:
  -h, --help            show this help message and exit
Failed to execute script starfish
commented

appetizer trace replay test.trace 0
最后一个参数写0有问题,应该是 device_list,是设备的编号,可以通过
adb devices 或者 appetizer devices list
看到 serialno 那一栏

然后
appetizer trace replay test.trace [serialno]
如果是多台设备,需要
appetizer trace replay test.trace [serialno1],[serialno2],[serialno3]

感谢,已经解决