还未发布过话题
  • click 按下没有抬起的事件,导致再 click 该按钮的时候无法点击

  • 关于 monkey 的--throttle 参数 at 2018年05月22日

    这个研究过,money 的 throttle 不是每个事件的事件间隔,
    :Sending Touch (ACTION_DOWN): 0:(410.0,318.0)

    :Sending Touch (ACTION_MOVE): 0:(412.8423,316.00107)

    :Sending Touch (ACTION_MOVE): 0:(422.10056,303.9841)

    :Sending Touch (ACTION_UP): 0:(427.50558,290.88345)

    Sleeping for 200 milliseconds

    :Sending Touch (ACTION_DOWN): 0:(167.0,837.0)

    :Sending Touch (ACTION_MOVE): 0:(166.56505,842.3712)

    :Sending Touch (ACTION_MOVE): 0:(164.79941,853.8922)

    :Sending Touch (ACTION_MOVE): 0:(163.6183,866.9585)

    :Sending Touch (ACTION_MOVE): 0:(161.69794,875.4406)

    :Sending Touch (ACTION_MOVE): 0:(161.64034,888.2781)

    :Sending Touch (ACTION_UP): 0:(160.37444,889.48865)

    Sleeping for 200 milliseconds

    :Sending Touch (ACTION_DOWN): 0:(986.0,1095.0)

    :Sending Touch (ACTION_UP): 0:(992.8296,1091.5313)

    Sleeping for 200 milliseconds

    :Sending Touch (ACTION_DOWN): 0:(948.0,430.0)

    :Sending Touch (ACTION_MOVE): 0:(932.42474,424.36377)

    :Sending Touch (ACTION_MOVE): 0:(927.90173,414.6834)

    :Sending Touch (ACTION_MOVE): 0:(921.5671,409.0014)

    :Sending Touch (ACTION_MOVE): 0:(911.44,398.39398)

    :Sending Touch (ACTION_UP): 0:(910.3728,385.3957)

    Sleeping for 200 milliseconds

    是执行了 好几个事件才 sleep 了 200 这个间隔差不多得在 5 个事件,有兴趣的话可以自己统计一下求个平均,所以不能用间隔乘以时间数来计算时间

  • 打印一下 print(item.split())
    [b'u0_a186', b'27282', b'880', b'1276836', b'106252', b'0000000000', b'R', b'com.roobo.pudding']
    只有 8 个 你取 if item.split()[8].decode() == pkg_name: 肯定超出边界值了。改成 7 就可以了