Android 找不到此应用程序和葫芦版本组合的测试服务器。重新创建测试服务器

Android 找不到此应用程序和葫芦版本组合的测试服务器。重新创建测试服务器,android,ios,calabash,Android,Ios,Calabash,我试着运行葫芦机器人。。获取如下所示的错误 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:/

我试着运行葫芦机器人。。获取如下所示的错误

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>'
未找到此应用程序和葫芦版本组合的测试服务器。娱乐
g测试服务器。
2013-06-11 18:08:22-“/bin/keytool.exe”-v-list-alias samplekey-keystore”c:
/testproject/calabash/sample“-storepass示例
C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.6/lib/calabash-android/
helpers.rb:140:in`:没有这样的文件或目录-“/bin/keytool.exe”-v-list-
别名samplekey-keystore“c:/testproject/calabash/sample”-storepass示例(Er
rno::enoint)
来自C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.6/lib/cala
bash android/helpers.rb:140:in'fingerprint\u from\u keystore'
来自C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.6/bin/cala
bash-android-build.rb:3:in'calabash\u-build'
来自C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.6/lib/cala
bash android/helpers.rb:49:in'build\u test\u server\u if\u needed'
来自C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.6/bin/cala
bash-android-run.rb:16:in'calabash\u-run'
来自C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.6/bin/cala
bash-android:76:in`'
from C:/Ruby193/bin/葫芦android:23:in'load'
来自C:/Ruby193/bin/葫芦android:23:in`'

请有人帮助我如何在windows上运行葫芦android示例应用程序。。我不熟悉此工具。感谢您的帮助。

您需要设置
JAVA\u HOME
环境变量并将其添加到路径中。卡拉巴斯正在寻找keytool来签署测试服务器apk。
确保您还设置了安卓主页,并将其添加到路径中。

是否设置了安卓主页变量?命令的输出是什么?keytool.exe在哪里?“/bin/keytool.exe”听起来不是一个合理的位置。是../bin/keytool.exe吗?您可以发布您正在使用的确切命令吗?Hi varun:我已经添加了类似android\u home的内容:c:\android\sdk,java\u home添加了类似c:\Program Files\java\jdk1.6.0\u 45\bin的内容。因此,您创建了一个环境变量,但是否将其添加到路径中?只需在cmd提示符下键入keytool,看看它是怎么说的。将您的
java\u home
设置为
C:\Program Files\java\jdk1.6.0\u 45
,然后将
%java\u home%/bin
添加到您的路径中。嗨,瓦伦,我只是这样设置了java home。现在它正在工作。。谢谢分享你的经验。