• #4楼 @wodeta33 跟你出现了一样的问题,请问你当时是怎么解决的啊

  • 生成的test_servers/******************_0.5.12.apk是要安装到 模拟机上么? 我尝试过安装不上去

    运行的时候显示:

    H:\Android_Test>calabash-android run weixin622android580.apk
    *** WARNING: You must use ANSICON 1.31 or higher (https://github.com/adoxa/ansicon/) to get coloured output on Windows
    Feature: 启动功能

    2402 KB/s (585905 bytes in 0.238s)
    2631 KB/s (32003640 bytes in 11.876s)
    系统找不到指定的路径。
    Scenario: 启动应用,并给应用截图 # features/my_first.feature:3
    Could not execute command to start test server (RuntimeError)
    ./features/support/app_life_cycle_hooks.rb:5:in Before'
    Then I take a screenshot # calabash-android-0.7.3/lib/calabash-android/steps/screenshot_steps.rb:9
    No connection could be made because the target machine actively refused it. - connect(2) for "127.0.0.1" port 34777 (127.0.0.1:34777) (Errno::ECONNREFUSED)
    ./features/support/app_life_cycle_hooks.rb:12:in
    After'

    Failing Scenarios:
    cucumber features/my_first.feature:3 # Scenario: 启动应用,并给应用截图

    1 scenario (1 failed)
    1 step (1 skipped)
    0m41.799s

    最后虽然有截图,可是运行出错了 ,为什么呢?