手机自动跑脚本

#/bin/bash
for i in {1..300};
do
adb shell input tap 800 800
sleep 10
adb shell input keyevent 4
adb shell input keyevent 4
echo "================"
#adb shell dumpsys meminfo com.sohuvideo.sdk_open |grep TOTAL
#echo "----------------"
adb shell dumpsys meminfo com.sohuvideo.sdk_open:qianfanshow |grep TOTAL
done

原文地址:https://www.cnblogs.com/wutianlong/p/5664478.html