葫芦的Andr​​oid脚本会 [英] Calabash Android script halts

查看:141
本文介绍了葫芦的Andr​​oid脚本会的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我跑我暂停执行长期的.apk文件和脚本不会执行。我需要明确地终止它。不知道为什么它不会执行。没有错误出现在控制台上。我们有什么办法解决这个问题?

When I run the .apk my execution halts for long and script does not executes. I need to explicitly abort it. don't know why it does not executes. there is no error comes on console. do we have any solution to this issue?

我得到了放,而使用如下命令:

What I get the out put while using below commands:

- >葫芦,Android的辞职,我-app.apk [完成完美]
- >葫芦,Android上运行我-app.apk [启动来执行,它只显示行 325 KB /秒(在1.700s 566732字节)此后它什么和不幸的是,每次我需要中止进程。 :-(]

--> calabash-android resign my-app.apk [Done perfect] --> calabash-android run my-app.apk [Initiate for execution and it shows only line 325 KB/s (566732 bytes in 1.700s) and thereafter it does nothing and unfortunately every time I need to abort the process. :-( ]

我的手机连接活着(连接),它仍然不执行多次。
替代,很多次我断开手机并重新连接。我使用的 Nexus4 的和的三星Galaxy S5 的&安培;希望这不会是一个电话或电缆问题。

My phone connection is alive(connected) still it does not execute many times. for alternative, many times I disconnect the phone and reconnect. I'm using Nexus4 and Samsung Galaxy S5 & hope this is not be a phone or cable issue.

有关这个问题,我谷歌,但没有找到确切的解决方案。请让我知道是否有这个任何解决方案。多AP preciated寻求帮助。

For this issue I Google but didn't find exact solution. kindly let me know if there is any solution on this. much appreciated for help.

推荐答案

这发生在我在我的项目时

This happened to me while working on my project

1>关闭当前的终端。

1> Close your current terminal.

2>打开新的终端,并检查您的设备通过键入连接

2> Open new terminal and check if your device is connected by typing

adb devices

这将重新启动连接守护程序列表中的设备。确保你的设备连接在USB调试模式。

It will restart daemon and list devices connected. Make sure your device is connected in USB Debugging mode.

3>之后,运行测试它应该工作。 :)

3> After that run your test it should work. :)

这篇关于葫芦的Andr​​oid脚本会的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆