I'm having an issue trying to run the following from the console:
calabash-android (0.5.5)
start_test_server_in_background
irb(main):002:0> start_test_server_in_background
android.util.AndroidException: INSTRUMENTATION_FAILED: org.wordpress.android/sh.calaba.instrumentationbackend.CalabashInstrumentationTestRunner
at com.android.commands.am.Am.runInstrument(Am.java:865)
at com.android.commands.am.Am.onRun(Am.java:282)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:47)
at com.android.commands.am.Am.main(Am.java:76)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:301)
at dalvik.system.NativeStart.main(Native Method)
If I run shutdown_test_server and then try start_test_server_in_background again I get a diff message:
android.util.AndroidException: INSTRUMENTATION_FAILED: org.wordpress.android/sh.calaba.instrumentationbackend.CalabashInstrumentationTestRunner
at com.android.commands.am.Am.runInstrument(Am.java:865)
at com.android.commands.am.Am.onRun(Am.java:282)
at com.android.internal.os.BaseCommand.run(BaseCommand.java:47)
at com.android.commands.am.Am.main(Am.java:76)
at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method)
at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:301)
at dalvik.system.NativeStart.main(Native Method)
RuntimeError: App did not start
from /Users/chthompson/.rvm/gems/ruby-2.0.0-p451/gems/calabash-android-0.5.5/lib/calabash-android/operations.rb:609:in `block in start_test_server_in_background'
from /Users/chthompson/.rvm/gems/ruby-2.0.0-p451/gems/retriable-1.3.3.1/lib/retriable/retriable.rb:31:in `perform'
from /Users/chthompson/.rvm/gems/ruby-2.0.0-p451/gems/retriable-1.3.3.1/lib/retriable/retriable.rb:59:in `retriable'
from /Users/chthompson/.rvm/gems/ruby-2.0.0-p451/gems/calabash-android-0.5.5/lib/calabash-android/operations.rb:608:in `start_test_server_in_background'
from /Users/chthompson/.rvm/gems/ruby-2.0.0-p451/gems/calabash-android-0.5.5/lib/calabash-android/operations.rb:125:in `start_test_server_in_background'
from (irb):4
from /Users/chthompson/.rvm/rubies/ruby-2.0.0-p451/bin/irb:12:in `<main>'
So it's really odd I see many people having similar issues online. I have tried many things to get around this. I am able to perform a calabash-android run
get the app running and then use console without having to start test server.
Someone must have encountered this issue before?
Thanks in advance,
Brad