以下两个命令试了很多次都没出现不成功的,都能实现双击
adb shell "input tap 600 1300; sleep 0.01; input tap 600 1300;"
adb shell "input tap 600 1300; input tap 600 1300;"
参考以下代码修改的:
adb shell "seq 2 | while read i;do input tap 993 814 & input tap 993 814 & sleep 0.01;done"
参考文章: