一:问题

android的userdebug版本的调试中,需要查看手指滑动的指针位置,该功能可在开发者选项中进行勾选,也可以用adb shell 指令设置。

二、方法

1:临时性

adb shell settings put system pointer_location 1

2:永久性,修改系统属性

adb root

adb remount

adb shell  "echo 'persist.pointer_location=1' >> /system/build.prop"

adb reboot

更多推荐