adb shell settings put system show_touches 1 //显示轨迹
adb shell settings put system pointer_location 1 //显示坐标
adb shell input keyevent 26 //电源键
adb shell input keyevent 3 //home键
adb shell input keyevent 82 //亮屏
adb shell input swipe 100 100 200 200 300 //从 坐标(100 ,100) 经历300毫秒滑动到 (200 ,200)
adb shell input tap x y //点击坐标(x,y)
adb shell settings put system screen_off_timeout 600000 //休眠10分钟
这篇博客介绍了通过ADB shell命令进行Android设备的管理与调试,包括显示触摸轨迹、显示指针坐标、模拟电源键和Home键操作、屏幕亮屏、滑动和点击操作以及调整休眠时间等高级调试技巧。
2453

被折叠的 条评论
为什么被折叠?



