android - 在真实设备上通过wifi运行monkeyrunner
我有一个构建服务器,一旦构建准备就绪,我想在许多设备上同时运行 Monkeyrunner 脚本。
因此我连接到了设备并成功运行了“adb Monkey”、“adb shell ls” ,...
什么时候我运行 Monkeyrunner 时出现错误 - 它无法连接。
这是monkeyrunner中的一个错误吗?有解决方法吗?
我可以使用其他工具吗?
I have a build server and I would like to run a monkeyrunner script on many devices simultaneously once the build is ready.
I found here a way to connect to the devices over tcp
so I connected to a device and successfuly ran "adb monkey", "adb shell ls",...
when i run the monkeyrunner i get errors - it can't connect.
here is another guy that looks for a solution
is it a bug in the monkeyrunner? is there a workaround?
is there other tool I can use?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
由于创建端口转发命令导致的问题不适用于 TCP 连接设备。如果您在“sdk \ ddms \ libs \ ddmlib \ src \ com \ android \ ddmlib \ AdbHelper.java”中查找,
通过将adb命令修改为对我来说工作正常
比您需要重建ddmlib.jar
The problem due to the command for create port forwarding is not for TCP connected device. If you looking in "sdk\ddms\libs\ddmlib\src\com\android\ddmlib\AdbHelper.java"
It is work fine for me by modify adb command to
Than you need to rebuild ddmlib.jar