monkeyrunner

mac2022-06-30  75

cmd运行monkeyrunner运行时报:

SWT folder '..\framework\x86_64' does not exist.

解决问题,方法如下:

1.在monkeyrunner的上级目录新建一个framwork文件夹(即tools目录下),建完之后如下图所示:

2.将lib文件夹中的内容全部复制到framework文件夹下面;

3.再次运行monkeyrunner,可能会有以下报错,提示找不到adb.exe:

4.出现上述报错的话,将platform-tools下面的adb.exe复制一份到framework文件夹下面,再次运行monkeyrunner会进入到Shell交互模式

 

 

转载于:https://www.cnblogs.com/bufuhaoshiguang/p/10448711.html

相关资源:MonkeyRunner源码
最新回复(0)