AndroidViewClient restarts device with every command after using “touch(x,y)” command once

前端 未结 1 1735
走了就别回头了
走了就别回头了 2021-01-27 10:46

Using AndroidViewClient, just recently every action I try to make using Culebra or any of the associated scripts just restarts the virtual device. Has anyone ever run into this

相关标签:
1条回答
  • 2021-01-27 11:17

    I never heard of such thing, then I guess is something related to your particular environment, device or version (details missing from your question).

    Anyway, instead of a solution, which I don't have as I don't know the problem I will give you some tips to find the cause.

    First of all, check that adb is working and you can connect to the device:

    adb shell

    AndroidViewClient/culebra uses input tap command to send touch events, then send something like

    adb shell input tap 173 1111
    

    ignore the DIP for the moment, just send the coordinates in PX.

    Additionally, test dump to verify that the content of the screen can be obtained

    dump -a
    

    I hope this helps you detect the problem.

    0 讨论(0)
提交回复
热议问题