adb 寫腳本常用命令


adb命令坐標定位及操作 adb shell settings put system pointer_location 1 打開畫線 0是關閉
adb shell settings put system show_touches 1 打開觸摸白點 0是關閉 畫線命令
adb shell input swipe 200 1200 200 400 200是x坐標 1200-400 y坐標從下往上畫 點擊命令
adb shell tap 300 500 點擊在x=300 y=500 位置 長按命令
adb shell input swipe 100 100 100 100 1000 在x=100 y=100 位置處長按1s 截圖
adb shell /system/bin/screencap -p /sdcard/screenshot.png adb pull /sdcard/screenshot.png d:/
adb 錄像 adb shell screenrecord /sdcard/1.mp4 adb pull /sdcard/1.mp4 d:/adb
使用adb指令獲取手機點擊坐標 https://blog.csdn.net/qq_23521659/article/details/95475787


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM