Calabash-android block at start_test_server_in_background

I am trying to troubleshoot a problem I got after changing my computer getting the .apk file to work properly. I have read all the various solutions but none have worked so far.

I keep on this error, can't figure out why: Running calabash-android console ... Downloading /Users/sasaro/.rvm/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/calabash- android-0.5.2 / irbrc Running irb ... irb (main): 001: 0> start_test_server_in_background RuntimeError: Application did not start from /Users/sasaro/.rvm/rubies/ruby-2.1.2/lib/ruby/gems/ 2.1.0 / gems / calabash-android-0.5.2 / lib / calabash-android / operations.rb: 609: in block in start_test_server_in_background' from /Users/sasaro/.rvm/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/retriable-1.3.3.1/lib/retriable/retriable.rb:31:in

execute "from /Users/sasaro/.rvm/rubies/ruby-2.1.2/lib/ruby/ gems / 2.1.0 / gems / retriable-1.3.3.1 / lib / retriable / retriable.rb: 59: in retriable' from /Users/sasaro/.rvm/rubies/ruby-2.1.2/lib/ruby/gems/2.1.0/gems/calabash-android-0.5.2/lib/calabash-android/operations.rb:608:in

start_test_server_in_background 'from /Users/sasaro/.rvm/rubies/ruby-2.1.2/lib/ruby/gems/ 2.1.0 / gems / calabash-android-0.5.2 / lib / calabash-android / operations.rb: 125: instart_test_server_in_background' from (irb):1 from /Users/sasaro/.rvm/rubies/ruby-2.1.2/bin/irb:11:in

What am I doing wrong? What can't I see? Is there a solution?

Mac OS X 10.9.4. The app is reinstalled when I run reinstall_apps, and when I run start_test_server_in_background, I see the app is open in the emulator. But, then I get the above error. The app is still available and works in the emulator.

I'm new to installing calabash, so please be careful and detailed if you come across something like this.

+3


source to share


3 answers


Try this command:



calabash-android resign path/to/file.apk

      

+1


source


Remove all Test_Server, remove android app from folder and copy new one Try:

calabash-android console app-debug.apk irb> reinstall_apps irb> start_test_server_in_background it should start



and after that if it doesn't recognize the server then try calabash-android resign app-debug.apk and app to run calbash-android-debug.apk

0


source


Delete the test_server folder and revoke the apk file

calabash-android resign path/to/file.apk

      

Then open your console

calabash-android console path/to/file.apk

and

reinstall the app by typing

reinstall_apps

      

then run the app

start_test_server_in_background

      

0


source







All Articles