Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在尝试使用 monkeyrunner 锁定屏幕。请帮帮我。
谢谢
试试下面的代码: -
device.press('KEYCODE_POWER',MonkeyDevice.DOWN_AND_UP)
使用monkeyRunner按下模拟器的电源按钮,然后按下