[英]No test server found for this combination of app and calabash version. Recreatin g test server
I was trying to run calabash-android .. getting error like below.. 我正在尝试运行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>'
Please some one help me how to run calabash-android sample application on windows.. I am new to this tool.Thanks for advance. 请有人帮助我如何在Windows上运行calabash-android示例应用程序。我是此工具的新手。谢谢。
You need JAVA_HOME
environment variable to be set and added to the path. 您需要JAVA_HOME
环境变量并将其添加到路径。 Calabash is looking for keytool to sign the test server apk. Calabash正在寻找用于对测试服务器apk进行签名的keytool。 Make sure you have also ANDROID_HOME
set and added to your path. 确保您还设置了ANDROID_HOME
并将其添加到路径中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.