I have an error: device not found, how to fix it?

373 views
Skip to first unread message

Victor Mironov

unread,
Mar 15, 2013, 7:43:03 PM3/15/13
to calabash...@googlegroups.com

Just did installation and tried to run, but getting error bellow, does anyone has same issue?Thanks in advance
-------------------------------------------------------------------------------------------------
Victor@AC_PC55_BH-PC ~/workspace/STRADE_v5 (master)
$ calabash-android run bin\\STRADE_v5.apk -v
2013-03-15 16:22:10 - c:/Ruby193/bin/ruby.exe -S cucumber -v PACKAGE_NAME=com.example.strade_v5 MAIN_ACTIVITY=com.example.strade_v5.Fullscree
nActivity APP_PATH="C:/Users/Victor/workspace/STRADE_v5/bin/STRADE_v5.apk" TEST_APP_PATH="test_servers/7ec21b73470256e547835bde7d3235dc_0.4.2
.apk" TEST_SERVER_PORT=34777
*** WARNING: You must use ANSICON 1.31 or higher (http://adoxa.110mb.com/ansicon) to get coloured output on Windows
Code:
  * features/support/env.rb
  * features/support/app_installation_hooks.rb
  * features/support/app_life_cycle_hooks.rb
  * features/support/hooks.rb
  * features/step_definitions/calabash_steps.rb

Features:
  * features/my_first.feature
Parsing feature files took 0m0.008s

Feature: Login feature

  Scenario: As a valid user I can log into my app # features\my_first.feature:3
2013-03-15 16:22:11 - First scenario in feature - reinstalling apps
2013-03-15 16:22:11 - "C:\Mobile\adt-bundle-windows-x86_64-20130219\sdk\platform-tools\adb.exe"  forward tcp:34777 tcp:7102
error: device not found
2013-03-15 16:22:11 -
2013-03-15 16:22:11 - Uninstalling: sh.calaba.android.test
- waiting for device -

Exiting... Interrupt again to exit immediately.

2013-03-15 16:25:03 -
2013-03-15 16:25:03 - Uninstalling: com.example.strade_v5
- waiting for device -

Victor@AC_PC55_BH-PC ~/workspace/STRADE_v5 (master)
$ calabash-android run bin\\STRADE_v5.apk -v
2013-03-15 16:25:08 - c:/Ruby193/bin/ruby.exe -S cucumber -v PACKAGE_NAME=com.example.strade_v5 MAIN_ACTIVITY=com.example.strade_v5.Fullscree
nActivity APP_PATH="C:/Users/Victor/workspace/STRADE_v5/bin/STRADE_v5.apk" TEST_APP_PATH="test_servers/7ec21b73470256e547835bde7d3235dc_0.4.2
.apk" TEST_SERVER_PORT=34777
*** WARNING: You must use ANSICON 1.31 or higher (http://adoxa.110mb.com/ansicon) to get coloured output on Windows
Code:
  * features/support/env.rb
  * features/support/app_installation_hooks.rb
  * features/support/app_life_cycle_hooks.rb
  * features/support/hooks.rb
  * features/step_definitions/calabash_steps.rb

Features:
  * features/my_first.feature
Parsing feature files took 0m0.008s

Feature: Login feature

  Scenario: As a valid user I can log into my app # features\my_first.feature:3
2013-03-15 16:25:09 - First scenario in feature - reinstalling apps
2013-03-15 16:25:09 - "C:\Mobile\adt-bundle-windows-x86_64-20130219\sdk\platform-tools\adb.exe"  forward tcp:34777 tcp:7102
error: device not found
2013-03-15 16:25:09 -
2013-03-15 16:25:09 - Uninstalling: sh.calaba.android.test
- waiting for device -

Exiting... Interrupt again to exit immediately.
2013-03-15 16:34:52 -

2013-03-15 16:34:52 - Uninstalling: com.example.strade_v5
- waiting for device -

Victor@AC_PC55_BH-PC ~/workspace/STRADE_v5 (master)
$

Jonas Maturana Larsen

unread,
Mar 17, 2013, 3:09:10 PM3/17/13
to calabash...@googlegroups.com
You have to make sure that adb can talk to your device.

Try to run "C:\Mobile\adt-bundle-windows-x86_64-20130219\sdk\platform-tools\adb.exe devices"  and check if your device is in the list.

If you don't see any devices try to check that the device is in USB debugging mode, that you have the drivers installed and so on.

Until your device is listed by adb calabash will not be able to talk to it.

- Jonas
--
You received this message because you are subscribed to the Google Groups "calabash-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to calabash-andro...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Victor Mironov

unread,
Mar 18, 2013, 4:23:27 PM3/18/13
to calabash...@googlegroups.com
Thanks Jonas,
spent day to figure out.
Just deleted all devices, set new one and it works!
Thanks again

Jonas Maturana Larsen

unread,
Mar 18, 2013, 4:31:43 PM3/18/13
to calabash...@googlegroups.com
Cool that you got it working :)

What did you mean that you "deleted all devices, set new one"?

VICTOR FRENK

unread,
Mar 18, 2013, 6:41:07 PM3/18/13
to calabash...@googlegroups.com
What I found:
When I did created new device, the same issue come up if I use CPU/ABI = Intel Atom (x86).


On Friday, March 15, 2013 4:43:03 PM UTC-7, Victor Mironov wrote:

Victor Mironov

unread,
Mar 19, 2013, 8:07:38 PM3/19/13
to calabash...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages