Windows上适用于Android的Calabash-无法进行首次测试

时间:2018-11-19 13:43:08

标签: ruby calabash calabash-android

我知道Calabash并未得到MS的正式支持,而是由社区开发的。配置后,我总是得到相同的错误:

C:\Users\XXX YYY\CalabashCucumberTest>bundle exec calabash-android run io.apk
No test server found for this combination of app and calabash version. Recreating test server.
WARNING: skipped META-INF/CERT.RSA as unsafe
Traceback (most recent call last):
        10: from C:/Ruby25-x64/bin/calabash-android:23:in `<main>'
         9: from C:/Ruby25-x64/bin/calabash-android:23:in `load'
         8: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/calabash-android-0.9.8/bin/calabash-android:86:in `<top (required)>'
         7: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/calabash-android-0.9.8/bin/calabash-android-run.rb:16:in `calabash_run'
         6: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/calabash-android-0.9.8/lib/calabash-android/helpers.rb:107:in `build_test_server_if_needed'
         5: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/calabash-android-0.9.8/bin/calabash-android-build.rb:2:in `calabash_build'
         4: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/calabash-android-0.9.8/lib/calabash-android/helpers.rb:169:in `fingerprint_from_apk'
         3: from C:/Ruby25-x64/lib/ruby/2.5.0/tmpdir.rb:89:in `mktmpdir'
         2: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/calabash-android-0.9.8/lib/calabash-android/helpers.rb:170:in `block in fingerprint_from_apk'
         1: from C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/calabash-android-0.9.8/lib/calabash-android/helpers.rb:170:in `chdir'
C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/calabash-android-0.9.8/lib/calabash-android/helpers.rb:188:in `block (2 levels) in fingerprint_from_apk': No signature files found in META-INF. Cannot proceed. (RuntimeError)

我遵循了Github官方教程。我尝试了不同的应用,真实的和模拟的设备-结果是相同的。谁能帮助我进行配置?也许我必须使用除最新Ruby和精选宝石以外的其他版本?

0 个答案:

没有答案