首先你需要知道怎麼打開ADB調試模式
然後你得知道怎麼電腦連接ADB
然後就是放代碼,
手機型號不同,可能點擊位置不同,建議根據個人手機大小 調節點擊位置
adb start-server
adb devices
adb shell am force-stop com.qeeyou.app.accelerator
:: 開啓應用
adb shell am start -n com.qeeyou.app.accelerator/ui.StartPageActivity
set num = 0
ping -n 10 127.0.0.1>nul
adb shell input tap 900 2230
:: 點擊免費加速
ping -n 3 127.0.0.1>nul
adb shell input tap 500 1000
:ok
set /a num+=1
:: 點擊播放
ping -n 10 127.0.0.1>nul
adb shell input tap 900 400
:: 播放視頻
echo "this" + "%num%" +""
ping -n 35 127.0.0.1>nul
adb shell input tap 950 200
if "%num%" == "25" goto end
goto ok
pause