使用测试应用程序运行Calabash-android时出错

时间:2016-10-27 12:18:57

标签: calabash calabash-android

我正在尝试将Calabash-android设置为使用测试应用运行,但不断收到以下错误。

我在.android文件夹中生成了密钥库文件,但仍然收到相同的错误。

D:\Calabash>calabash-android resign EdgeConnectQA.apk
C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.5.14/lib/calabash-android/helpers.rb:118:in ``': No such file or directory - "C:/Program Files (x86)/android-sdk_r10-windows/android-sdk-windows/platform-tools/aapt" list "C:/Users/u46646/AppData/Local/Temp/d20161027-10688-1rl21xu/unsigned.apk" (Errno::ENOENT)
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.5.14/lib/calabash-android/helpers.rb:118:in `unsign_apk'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.5.14/lib/calabash-android/helpers.rb:111:in `block in resign_apk'
        from C:/Ruby193/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.5.14/lib/calabash-android/helpers.rb:106:in `resign_apk'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.5.14/bin/calabash-android:114:in `<top (required)>'
        from C:/Ruby193/bin/calabash-android:23:in `load'
        from C:/Ruby193/bin/calabash-android:23:in `<main>'

D:\Calabash>

1 个答案:

答案 0 :(得分:1)

升级您的Calabash-Android版本。 0.5.14很老了。