问题
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:
--> 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. :-( ]
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.
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.
回答1:
Virtualbox + genymotion should work. I am working on Ubuntu 14.04 and it's working fine. Probably it's problem with programmer settings or connection with a phone. Try to reinstall phone drivers or adapter driver(if you are using one)
回答2:
This happened to me while working on my project
1> Close your current terminal.
2> Open new terminal and check if your device is connected by typing
adb devices
It will restart daemon and list devices connected. Make sure your device is connected in USB Debugging mode.
3> After that run your test it should work. :)
来源:https://stackoverflow.com/questions/32450115/calabash-android-script-halts