我成功地拍摄了快照并使用 monkeyrunner 打开了一项活动。但我想要的是按下一个按钮。所以我正在使用 ViewClient,但是每当我运行我的 jython 脚本时,都会出现错误:
File "F:\Example\AndroidViewClient\src\com\dtmilano\android\viewclient.py", line 870, in _init_()
File "F:\Example\AndroidViewClient\src\com\dtmilano\android\viewclient.py", line 986 in _ViewClient_obtainAdbPath
引发异常
('adb="%s" is not executable. Did you forget to set ANDROID_HOME in the environment?' %adb)
Exception: adb="%s" is not executable. Did you forget to set ANDROID_HOME in the environment?
提前致谢