bin/calabash-android-build.rb in calabash-android-0.4.16 vs bin/calabash-android-build.rb in calabash-android-0.4.18

- old
+ new

@@ -1,9 +1,14 @@ def calabash_build(app) apk_fingerprint = fingerprint_from_apk(app) log "#{app} was signed with a certificate with fingerprint #{apk_fingerprint}" keystores = JavaKeystore.get_keystores + if keystores.empty? + puts "No keystores found." + puts "Please create one or run calabash-android setup to configure calabash-android to use an existing keystore." + exit 1 + end keystore = keystores.find { |k| k.fingerprint == apk_fingerprint} unless keystore puts "#{app} is not signed with any of the available keystores." puts "Tried the following keystores:"