android - Calabash error. Could not list certificates in keystore. Probably because the pass was incorrect. (RuntimeError) -
i've got problem when type
calabash-android run binary\app-debug.apk features\my_first.feature
on command line in windows on project.
this problem:
c:/ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.5.9.pre2/lib/calabash-android/java_keystore.rb:32:in 'initialize': not list certificates in keystore. because password incorrect. (runtimeerror)
i don't know it's happening because set before password android , keystore androiddebugkey.
anyone knows it? thanks!
ps: i'm using windows os 8.
update 04/30.
here debug information:
jdk fount at: c:\program files (x86)\java\jdk1.7.0_79 android sdk found at: c:\users\myuser\android-sdk no test server found combination of app , calabash version. recreating test server.
signature files: c:/users/myuser/appdata/local/temp/d20150430-8916-1taiq7r/meta-inf/cert.rsa "c:\program files (x86)\java\jdk1.7.0_79/bin/keytool.exe" -v -printcert -j"-dfile.encoding=utf-8" -file "c:/users/myuser/appdata/local/temp/d20150430-8916-1taiq7r/meta-inf/cert.rsa" md5 fingerprint signing cert : fb:3e:80:4f:a2:91:51:59:02:e5:8e:bb:7f:c9:30:ec c:/users/myuser/bdd-calabash-example-master/binary/app-debug.apk signed certificate fingerprint fb:3e:80:4f:a2:91:51:59:02:e5:8e:bb:7f:c9:30:ec keystore location specified in .calabash_settings. reading keystore data keystore file 'c:/users/mydata/.android' "c:\program files (x86)\java\jdk1.7.0_79/bin/keytool.exe" -list -v -alias androiddebugkey -keystore c:/users/myuser/.android -storepass android "-j"-dfile.econding=utf-8"" not list certificates in keystore. because pass incorrect. c:/ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.5.9.pre2/lib/calabash-android/java_keystore.rb:32:in 'initialize': not list certificates in keystore. because password incorrect. (runtimeerror)
edit 1 (apr, 30)
ok,
so solved problem , got new one.
i added .calabash_settings debug.keystore path , passed. new problem is
c:/ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.5.9.pre2/lib/calabash-android/java_keystore.rb:180:in 'extract_signature_algorithm_name': no signature algorithm names found. (runtimeerror)
maybe here problem changed values in owner cn, ou, l, etc, , issuing. how can change that? i've seen cn should android, not me...
thanks!
edit 2 (may, 1)
i change debug.keystore with
keytool -genkey -v -keystore debug.keystore -alias androiddebugkey -storepass android -keypass android -keyalg rsa -validity 14000
but i've still got same problem.
c:/ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.5.9.pre2/lib/calabash-android/java_keystore.rb:180:in 'extract_signature_algorithm_name': no signature algorithm names found. (runtimeerror)
alias name: androiddebugkey creation date: apr-23-2015 entry type: privatekeyentry certificate chain length: 1 certificate[1]: owner: cn=android debug, o=android, c=us issuer: cn=android debug, o=android, c=us serial number: 413942db valid from: thu apr 23 12:12:36 cest 2015 until: thu aug 23 12:12:36 cest 2045 certificate fingerprints: md5: 63:f8:a9:3f:f0:79:1e:a9:6b:9c:b9:ac:ec:6d:66:9b sha1: 3a:ba:29:68:56:29:3e:26:30:e6:b4:2f:24:7a:b1:21:d4:d8:5d:40 sha256: 35:89:63:3f:7b:ab:c4:88:de:b5:40:be:df:d1:f7:9f:ed:4b:73:5c:d1:02:b1:69:7d:29:91:84:48:28:2d:46 signature algorithm name: sha256withrsa
any idea?
edit 3 (may, 7).
solved updating gems administrator privileges (typed on command line):
gem update --system
Comments
Post a Comment