找不到这个app和calabash版本组合的测试服务器。重新测试服务器

时间:2013-06-11 12:41:51

标签: android ios calabash

我试图运行calabash-android ..得到如下错误..

No test server found for this combination of app and calabash version. Recreatin
g test server.
2013-06-11 18:08:22 - "/bin/keytool.exe" -v -list -alias samplekey -keystore "c:
/testproject/calabash/sample" -storepass sample
C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.6/lib/calabash-android/
helpers.rb:140:in ``': No such file or directory - "/bin/keytool.exe" -v -list -
alias samplekey -keystore "c:/testproject/calabash/sample" -storepass sample (Er
rno::ENOENT)
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.6/lib/cala
bash-android/helpers.rb:140:in `fingerprint_from_keystore'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.6/bin/cala
bash-android-build.rb:3:in `calabash_build'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.6/lib/cala
bash-android/helpers.rb:49:in `build_test_server_if_needed'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.6/bin/cala
bash-android-run.rb:16:in `calabash_run'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.6/bin/cala
bash-android:76:in `<top (required)>'
        from C:/Ruby193/bin/calabash-android:23:in `load'
        from C:/Ruby193/bin/calabash-android:23:in `<main>'

请有人帮我如何在Windows上运行calabash-android示例应用程序..我是这个工具的新手。谢谢提前。

1 个答案:

答案 0 :(得分:1)

您需要设置JAVA_HOME环境变量并将其添加到路径中。 Calabash正在寻找keytool来签署测试服务器apk。 确保您已设置ANDROID_HOME并添加到您的路径中。