No test server found for this combination of app and calabash version. Recreatin g test server. error

4,458 views
Skip to first unread message

Anuj Dewan

unread,
Mar 21, 2013, 2:45:26 AM3/21/13
to calabash...@googlegroups.com
i am getting No test server found error what could be the reason for such error ?

Jonas Maturana Larsen

unread,
Mar 21, 2013, 4:50:39 AM3/21/13
to calabash...@googlegroups.com
What do you do. What do you see?

Please follow these guidelines:
It is generally a good idea to do a couple things when posting questions:

1. Explain very precisely what you want to do.

2. Explain what you have already tried, and what the results are (what happened? possibly log traces).

3. Try searching the group for similar questions.

Try to give the reader a feeling that you've already made an effort, but that you a now stuck.

Following this recipe will get questions answered much more quickly. 

On Thursday, March 21, 2013 at 07:45 , Anuj Dewan wrote:

i am getting No test server found error what could be the reason for such error ?

--
You received this message because you are subscribed to the Google Groups "calabash-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to calabash-andro...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Anuj Dewan

unread,
Mar 22, 2013, 4:54:52 AM3/22/13
to calabash...@googlegroups.com
Here are the details 

I have installed calabash-android with all the steps mention in the document(https://github.com/calabash/calabash-android/blob/master/documentation/installation.md). I have signed the apk with proper debug.keystore even set the .calabash-settings. When i tried running the application through cmd prompt (calabash-android run ab.apk), i am getting this error:

No test server found for this combination of app and calabash version. Recreating test server. /Library/Ruby/Gems/1.8/gems/calabash-android-0.4.3.pre4/lib/calabash-android/helpers.rb:148:in `extract_md5_fingerprint': No MD5 fingerprint found: (RuntimeError)

Even i have tried upgrading the calabash version but that also didn't help.

Let me know incase you need more info.

This is the version i am using : android-0.4.3.pre4

Thanks for the instant reply.

Jonas Maturana Larsen

unread,
Mar 22, 2013, 5:31:12 AM3/22/13
to calabash...@googlegroups.com
Try to run calabash-android run ab.apk -v and post the output here.
--

Anuj Dewan

unread,
Mar 22, 2013, 6:15:54 AM3/22/13
to calabash...@googlegroups.com
Here is the output:

No test server found for this combination of app and calabash version. Recreating test server.
2013-03-22 15:40:04 - keytool -v -list -alias test -keystore ""/Users/anuj/test.keystore "" -storepass testing
2013-03-22 15:40:05 - keytool error: java.lang.RuntimeException: Usage error,  is not a legal command
java.lang.RuntimeException: Usage error,  is not a legal command
at sun.security.tools.KeyTool.parseArgs(KeyTool.java:375)
at sun.security.tools.KeyTool.run(KeyTool.java:171)
at sun.security.tools.KeyTool.main(KeyTool.java:166)
/Library/Ruby/Gems/1.8/gems/calabash-android-0.4.3.pre4/lib/calabash-android/helpers.rb:148:in `extract_md5_fingerprint': No MD5 fingerprint found: (RuntimeError)
 keytool error: java.lang.RuntimeException: Usage error,  is not a legal command
java.lang.RuntimeException: Usage error,  is not a legal command
at sun.security.tools.KeyTool.parseArgs(KeyTool.java:375)
at sun.security.tools.KeyTool.run(KeyTool.java:171)
at sun.security.tools.KeyTool.main(KeyTool.java:166)
from /Library/Ruby/Gems/1.8/gems/calabash-android-0.4.3.pre4/lib/calabash-android/helpers.rb:111:in `fingerprint_from_keystore'
from /Library/Ruby/Gems/1.8/gems/calabash-android-0.4.3.pre4/bin/calabash-android-build.rb:3:in `calabash_build'
from /Library/Ruby/Gems/1.8/gems/calabash-android-0.4.3.pre4/lib/calabash-android/helpers.rb:49:in `build_test_server_if_needed'
from /Library/Ruby/Gems/1.8/gems/calabash-android-0.4.3.pre4/bin/calabash-android-run.rb:16:in `calabash_run'
from /Library/Ruby/Gems/1.8/gems/calabash-android-0.4.3.pre4/bin/calabash-android:76
from /usr/bin/calabash-android:19:in `load'
from /usr/bin/calabash-android:19

A

Anuj Dewan

unread,
Mar 22, 2013, 8:00:35 AM3/22/13
to calabash...@googlegroups.com
Working now. thanks 


On Thursday, March 21, 2013 12:15:26 PM UTC+5:30, Anuj Dewan wrote:

Jonas Maturana Larsen

unread,
Mar 22, 2013, 5:48:32 PM3/22/13
to calabash...@googlegroups.com
What did you do to fix it?
--

Anuj Dewan

unread,
Mar 22, 2013, 11:20:16 PM3/22/13
to calabash...@googlegroups.com
i ran: calabash-android resign /Users/anuj/test/android-client.apk



--
You received this message because you are subscribed to a topic in the Google Groups "calabash-android" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/calabash-android/_t6LtjJlFKw/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to calabash-andro...@googlegroups.com.

Neha Jain

unread,
Mar 28, 2013, 8:37:38 AM3/28/13
to calabash...@googlegroups.com
I am getting the same error.can you tell me how to fix it?the solution you provided is not working for me

On Thursday, March 21, 2013 12:15:26 PM UTC+5:30, Anuj Dewan wrote:

Neha Jain

unread,
Mar 28, 2013, 8:47:26 AM3/28/13
to calabash...@googlegroups.com
No test server found for this combination of app and calabash version. Recreating test server.                                                                  C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.2/lib/calabash-android/helpers.rb:110:in ``': No such file or directory - "C:\Program Files\Java\jdk1.7.0_05\bin/bin/keytool.exe" -v -list -alias androiddebugkey -keystore ""C:/Users/e811555/.android/debug.keystore"" -storepass android (Errno::ENOENT)                   
from C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.2/lib/calabash-android/helpers.rb:110:in `fingerprint_from_keystore'                             
 from C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.2/bin/calabash-android-build.rb:3:in `calabash_build'                                            
 from C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.2/lib/calabash-android/helpers.rb:49:in `build_test_server_if_needed'                             from C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.2/bin/calabash-android-run.rb:16:in `calabash_run'                                           
     from C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.2/bin/calabash-android:76:in `<top (required)>'                                                   
from C:/Ruby193/bin/calabash-android:23:in `load'                             
  from C:/Ruby193/bin/calabash-android:23:in `<main>'                     

is the error i am getting.please help!

On Thursday, March 21, 2013 12:15:26 PM UTC+5:30, Anuj Dewan wrote:

Anuj Dewan

unread,
Mar 28, 2013, 2:02:54 PM3/28/13
to calabash...@googlegroups.com
Can you try running this cmd, go to folder where you have store calabash-android and try calabash-android resign /Users/anuj/test/android-client.apk


Anuj

--

Jonas Maturana Larsen

unread,
Mar 28, 2013, 5:36:44 PM3/28/13
to calabash...@googlegroups.com
I just released calabash-android 0.4.3. Upgrading should solve your problem.

- Jonas

Neha Jain

unread,
Mar 29, 2013, 1:42:49 AM3/29/13
to calabash...@googlegroups.com
thanks.i'll try it

On Fri, Mar 29, 2013 at 3:06 AM, Jonas Maturana Larsen <jo...@lesspainful.com> wrote:
I just released calabash-android 0.4.3. Upgrading should solve your problem.

- Jonas

--

Jason Tu

unread,
May 3, 2013, 5:37:42 PM5/3/13
to calabash...@googlegroups.com
I also have the same problem:


See the console message:


Jason-MacBook-Pro:calabash-android-demoapp Jason$ calabash-android run "/Users/Jason/Downloads/net.flixster.android_5.0_RC1_sidenavEnabled 2.apk" -v

No test server found for this combination of app and calabash version. Recreating test server.
2013-05-03 14:26:54 - keytool -v -list -alias calabash-android-jasontux -keystore "/Users/Jason/.android/debug.keystore" -storepass 2ChiaSheng20
2013-05-03 14:26:54 - keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect
java.io.IOException: Keystore was tampered with, or password was incorrect
    at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:771)
    at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)
    at java.security.KeyStore.load(KeyStore.java:1185)
    at sun.security.tools.KeyTool.doCommands(KeyTool.java:620)
    at sun.security.tools.KeyTool.run(KeyTool.java:172)
    at sun.security.tools.KeyTool.main(KeyTool.java:166)
Caused by: java.security.UnrecoverableKeyException: Password verification failed
    at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:769)
    ... 5 more
/Users/Jason/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.4/lib/calabash-android/helpers.rb:162:in `extract_md5_fingerprint': No MD5 fingerprint found: (RuntimeError)
 keytool error: java.io.IOException: Keystore was tampered with, or password was incorrect
java.io.IOException: Keystore was tampered with, or password was incorrect
    at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:771)
    at sun.security.provider.JavaKeyStore$JKS.engineLoad(JavaKeyStore.java:38)
    at java.security.KeyStore.load(KeyStore.java:1185)
    at sun.security.tools.KeyTool.doCommands(KeyTool.java:620)
    at sun.security.tools.KeyTool.run(KeyTool.java:172)
    at sun.security.tools.KeyTool.main(KeyTool.java:166)
Caused by: java.security.UnrecoverableKeyException: Password verification failed
    at sun.security.provider.JavaKeyStore.engineLoad(JavaKeyStore.java:769)
    ... 5 more
    from /Users/Jason/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.4/lib/calabash-android/helpers.rb:131:in `fingerprint_from_keystore'
    from /Users/Jason/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.4/bin/calabash-android-build.rb:3:in `calabash_build'
    from /Users/Jason/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.4/lib/calabash-android/helpers.rb:49:in `build_test_server_if_needed'
    from /Users/Jason/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.4/bin/calabash-android-run.rb:16:in `calabash_run'
    from /Users/Jason/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.4/bin/calabash-android:76:in `<top (required)>'
    from /Users/Jason/.rbenv/versions/1.9.3-p327/bin/calabash-android:23:in `load'
    from /Users/Jason/.rbenv/versions/1.9.3-p327/bin/calabash-android:23:in `<main>'
Jason-MacBook-Pro:calabash-android-demoapp Jason$

I also tried calabash-android setup successfully so it is using ~/.android/debug.keytool and I got MD5 value

I tried calabash-android resign with failure:

calabash-android resign "/Users/Jason/Downloads/net.flixster.android_5.0_RC1_sidenavEnabled 2.apk"
Enter Passphrase for keystore:
jarsigner: Certificate chain not found for: -storepass.  -storepass must reference a valid KeyStore key entry containing a private key and corresponding public key certificate chain.
jarsigner command: jarsigner -sigalg MD5withRSA -digestalg SHA1 -signedjar /Users/Jason/Downloads/net.flixster.android_5.0_RC1_sidenavEnabled 2.apk -storepass 2ChiaSheng20 -keystore "/Users/Jason/.android/debug.keystore" /var/folders/6k/7018t0054p19781n5vygpsnc0000gp/T/d20130503-9211-1vgal1z/unsigned.apk calabash-android-jasontux
/Users/Jason/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.4/lib/calabash-android/helpers.rb:79:in `sign_apk': Could not sign app (/var/folders/6k/7018t0054p19781n5vygpsnc0000gp/T/d20130503-9211-1vgal1z/unsigned.apk (RuntimeError)
    from /Users/Jason/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.4/lib/calabash-android/helpers.rb:62:in `block in resign_apk'
    from /Users/Jason/.rbenv/versions/1.9.3-p327/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir'
    from /Users/Jason/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.4/lib/calabash-android/helpers.rb:55:in `resign_apk'
    from /Users/Jason/.rbenv/versions/1.9.3-p327/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.4/bin/calabash-android:112:in `<top (required)>'
    from /Users/Jason/.rbenv/versions/1.9.3-p327/bin/calabash-android:23:in `load'
    from /Users/Jason/.rbenv/versions/1.9.3-p327/bin/calabash-android:23:in `<main>'


I ran keytool successfully and got my md5 and my ~/.android/debug.keytool

adb calabash-android "/Users/Jason/Downloads/net.flixster.android_5.0_RC1_sidenavEnabled 2.apk" was able to load the apk to simulator.

I am running 0.4.4 Calabash-android.

Can someone give some me some ideas? Thanks in advance.

Jonas Maturana Larsen

unread,
May 4, 2013, 2:12:44 AM5/4/13
to calabash...@googlegroups.com
Is your keystore protected by a passport??
Usually the debug.keystore does not have a password.

If you're really using the default keystore you should try to detele the .calabash_settings file in your project folder.

--
You received this message because you are subscribed to the Google Groups "calabash-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email to calabash-andro...@googlegroups.com.

lra...@crri.co.in

unread,
Jul 29, 2013, 6:30:35 AM7/29/13
to calabash...@googlegroups.com
I am also getting the same error
C:\Users\ranjit>calabash-android run "C:\Users\ranjit\My Back up\Andriod\Science
 8.apk"
No test server found for this combination of app and calabash version. Recreatin
g test server.
C:/Ruby187/lib/ruby/gems/1.8/gems/calabash-android-0.4.6/lib/calabash-android/he
lpers.rb:140:in ``': No such file or directory - "C:\Program Files\Java\jre7\bin
/bin/keytool.exe" -v -list -alias androiddebugkey -keystore "C:/Users/ranjit/.an
droid/debug.keystore" -storepass android (Errno::ENOENT)
        from C:/Ruby187/lib/ruby/gems/1.8/gems/calabash-android-0.4.6/lib/calaba
sh-android/helpers.rb:140:in `fingerprint_from_keystore'
        from C:/Ruby187/lib/ruby/gems/1.8/gems/calabash-android-0.4.6/bin/calaba
sh-android-build.rb:3:in `calabash_build'
        from C:/Ruby187/lib/ruby/gems/1.8/gems/calabash-android-0.4.6/lib/calaba
sh-android/helpers.rb:49:in `build_test_server_if_needed'
        from C:/Ruby187/lib/ruby/gems/1.8/gems/calabash-android-0.4.6/bin/calaba
sh-android-run.rb:16:in `calabash_run'
        from C:/Ruby187/lib/ruby/gems/1.8/gems/calabash-android-0.4.6/bin/calaba
sh-android:76
        from C:/Ruby187/bin/calabash-android:23:in `load'
        from C:/Ruby187/bin/calabash-android:23

vijay sai

unread,
Aug 9, 2013, 2:27:24 PM8/9/13
to calabash...@googlegroups.com
Hi Jonas,

Please find the below verbose and let me know why this error is coming up when i ran the command


C:\Ruby193\bin>calabash-android run C:\Users\ab\Desktop\calabash-android-demoapp
-master\calabash-android-demoapp-master\bin\AndroidDemoProject.apk -v

No test server found for this combination of app and calabash version. Recreatin
g test server.
2013-08-09 23:53:50 - "/bin/keytool.exe" -v -list -alias androiddebugkey -keysto
re "C:/Users/ab/.android/debug.keystore" -storepass android
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 androiddebugkey -keystore "C:/Users/ab/.android/debug.keystore" -storepass
 android (Errno::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>'

Sanjay Kumar

unread,
Aug 13, 2013, 1:44:01 AM8/13/13
to calabash...@googlegroups.com

On Thursday, March 21, 2013 12:15:26 PM UTC+5:30, Anuj Dewan wrote:
i am getting No test server found error what could be the reason for such error ?
Dear all,
 
 I am also facing the same problem can any one help me about this
 
 
No test server found for this combination of app and calabash version. Recreatin
g test server.
C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.7.pre9/lib/calabash-and
roid/helpers.rb:168:in `block (2 levels) in fingerprint_from_apk': No RSA file f
ound in META-INF. Cannot proceed. (RuntimeError)
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.7.pre9/lib
/calabash-android/helpers.rb:161:in `chdir'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.7.pre9/lib
/calabash-android/helpers.rb:161:in `block in fingerprint_from_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.4.7.pre9/lib
/calabash-android/helpers.rb:160:in `fingerprint_from_apk'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.7.pre9/bin
/calabash-android-build.rb:3:in `calabash_build'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.7.pre9/lib
/calabash-android/helpers.rb:62:in `build_test_server_if_needed'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.7.pre9/bin
/calabash-android-run.rb:16:in `calabash_run'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.7.pre9/bin
/calabash-android:76:in `<top (required)>'

Sandeep Shekar Anchan

unread,
Sep 25, 2013, 9:35:31 AM9/25/13
to calabash...@googlegroups.com
C:/Ruby200/lib/ruby/gems/2.0.0/gems/calabash-android-0.4.11/lib/calabash-android
/java_keystore.rb:74:in `keystore_from_settings': undefined method `fail_if_key_
missing' for JavaKeystore:Class (NoMethodError)
        from C:/Ruby200/lib/ruby/gems/2.0.0/gems/calabash-android-0.4.11/lib/cal
abash-android/java_keystore.rb:58:in `get_keystores'
        from C:/Ruby200/lib/ruby/gems/2.0.0/gems/calabash-android-0.4.11/lib/cal
abash-android/helpers.rb:88:in `sign_apk'
        from C:/Ruby200/lib/ruby/gems/2.0.0/gems/calabash-android-0.4.11/lib/cal
abash-android/helpers.rb:83:in `block in resign_apk'
        from C:/Ruby200/lib/ruby/2.0.0/tmpdir.rb:88:in `mktmpdir'
        from C:/Ruby200/lib/ruby/gems/2.0.0/gems/calabash-android-0.4.11/lib/cal
abash-android/helpers.rb:76:in `resign_apk'
        from C:/Ruby200/lib/ruby/gems/2.0.0/gems/calabash-android-0.4.11/bin/cal
abash-android:111:in `<top (required)>'
        from C:/Ruby200/bin/calabash-android:23:in `load'
        from C:/Ruby200/bin/calabash-android:23:in `<main>'



Kindly do the needful in debugging this error as I am not able to create the test sever when I run the .apk file via calabash android

joans lin

unread,
Sep 27, 2013, 12:51:37 AM9/27/13
to calabash...@googlegroups.com
There is a bug when using the "calabash_settings" config file.
Fix it with the patch followed.
diff --git a/ruby-gem/lib/calabash-android/java_keystore.rb b/ruby-gem/lib/calabash-android/java_keystore.rb
index 9a3a073..6342c69 100644
--- a/ruby-gem/lib/calabash-android/java_keystore.rb
+++ b/ruby-gem/lib/calabash-android/java_keystore.rb
@@ -56,7 +56,7 @@ class JavaKeystore
 
   def self.get_keystores
     if keystore = keystore_from_settings
-      keystore
+      [ keystore ]
     else
       [
         read_keystore_with_default_password_and_alias(File.join(ENV["HOME"], "/.android/debug.keystore")),
@@ -82,4 +82,4 @@ class JavaKeystore
     raise "Found .calabash_settings but no #{key} defined." unless map[key]
   end



--

Jonas Maturana Larsen

unread,
Sep 28, 2013, 5:37:31 PM9/28/13
to calabash...@googlegroups.com
I just released 0.4.13 which is fixing this bug.

amit....@catchoftheday.com.au

unread,
Oct 28, 2013, 10:24:22 PM10/28/13
to calabash...@googlegroups.com
Hi Jonas,

I am still getting this error with calabash-android 0.4.14


$ calabash-android run catch-android.apk -v
2013-10-29 13:21:09 - JDK found at: C:\Program Files\Java\jdk1.7.0_45\
2013-10-29 13:21:09 - Android SDK found at: c:/Users/Amit.Kumar/automation/android-app/adt-bundle-windows-x86_64-20130917/sdk
No test server found for this combination of app and calabash version. Recreating test server.
2013-10-29 13:21:09 - "C:\Program Files\Java\jdk1.7.0_45\/bin/keytool.exe" -v -printcert -file "C:/Users/AMIT~1.KUM/AppData/Local/Temp/d20131029-13524-10obazc/META-INF/CERT.RSA"
2013-10-29 13:21:09 - MD5 fingerprint for signing cert (c:/Users/Amit.Kumar/automation/android-automation/catch-android.apk): 85:EB:46:E2:9C:DC:35:95:4A:FF:91:A0:DE:83:EC:83
2013-10-29 13:21:09 - c:/Users/Amit.Kumar/automation/android-automation/catch-android.apk was signed with a certificate with fingerprint 85:EB:46:E2:9C:DC:35:95:4A:FF:91:A0:DE:83:EC:83
2013-10-29 13:21:09 - Trying to read keystore from: c:/Users/Amit.Kumar/.android/debug.keystore - no such file
2013-10-29 13:21:09 - Trying to read keystore from: c:/Users/Amit.Kumar/automation/android-automation/debug.keystore - no such file
2013-10-29 13:21:09 - Trying to read keystore from: c:/Users/Amit.Kumar/.local/share/Xamarin/Mono for Android/debug.keystore - no such file
2013-10-29 13:21:09 - Trying to read keystore from: c:/Users/Amit.Kumar/AppData/Local/Xamarin/Mono for Android/debug.keystore - no such file
c:/Users/Amit.Kumar/automation/android-automation/catch-android.apk is not signed with any of the available keystores.
Tried the following keystores:

c:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.14/bin/calabash-android-build.rb:15:in `calabash_build': undefined method `location' for nil:NilClass (NoMethodError)
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.14/lib/calabash-android/helpers.rb:70:in `build_test_server_if_needed'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.14/bin/calabash-android-run.rb:16:in `calabash_run'
        from c:/Ruby193/lib/ruby/gems/1.9.1/gems/calabash-android-0.4.14/bin/calabash-android:71:in `<top (required)>'
        from c:/Ruby193/bin/calabash-android:19:in `load'
        from c:/Ruby193/bin/calabash-android:19:in `<main>'

Amit

unread,
Oct 29, 2013, 1:17:58 AM10/29/13
to calabash...@googlegroups.com
Please ignore my last comment. I was not providing the alias

ror...@itexico.net

unread,
Oct 30, 2013, 11:03:42 AM10/30/13
to calabash...@googlegroups.com
  I have the same problem but when I run that, my system told me that it doesn't find android-client.apk.
Could you please help me to know how did you solve the problem? 

Jo Android

unread,
Nov 21, 2013, 10:18:33 AM11/21/13
to calabash...@googlegroups.com
Hi Jonas,

I'm also getting this error with calabash-android 0.4.16. it was working fine for me until i updated calabash-android. Error log below.

2013-11-21 15:08:56 - JDK found at: C:\glassfish3\jdk7\
2013-11-21 15:08:56 - Android SDK found at: C:\Android_Development\adt-bundle-windows-x86-20130917\sdk\
No test server found for this combination of app and calabash version. Recreating test server.
2013-11-21 15:08:57 - "C:\glassfish3\jdk7\/bin/keytool.exe" -v -printcert -file "C:/Users/jam42/AppData/Local/Temp/d20131121-9332-c0x336/META-INF/CERT.RSA"
2013-11-21 15:08:58 - MD5 fingerprint for signing cert (C:/Popcorn_Workspace/Popcorn/bin/Popcorn.apk): D9:C1:AF:07:04:B9:AC:14:F2:11:E9:0C:2D:9D:77:8B
2013-11-21 15:08:58 - C:/Popcorn_Workspace/Popcorn/bin/Popcorn.apk was signed with a certificate with fingerprint D9:C1:AF:07:04:B9:AC:14:F2:11:E9:0C:2D:9D:77:8B
2013-11-21 15:08:58 - "C:\glassfish3\jdk7\/bin/keytool.exe" -list -v -alias androiddebugkey -keystore C:/Users/jam42/.android/debug.keystore -storepass android
2013-11-21 15:08:58 - Key store data:
2013-11-21 15:08:58 - Alias name: androiddebugkey
Creation date: 08-Oct-2013
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: 5253eed0
Valid from: Tue Oct 08 12:38:56 BST 2013 until: Thu Oct 01 12:38:56 BST 2043
Certificate fingerprints:
         MD5:  D9:C1:AF:07:04:B9:AC:14:F2:11:E9:0C:2D:9D:77:8B
         SHA1: 70:E7:DA:2E:4C:74:23:5F:6C:D0:57:92:5A:DB:CE:14:39:82:4B:6A
         SHA256: C5:B5:B7:70:F3:BE:7D:3D:E5:48:9D:93:EC:AF:7A:3F:DA:4B:20:27:53:F8:46:4F:8F:4F:B9:90:ED:CA:08:F1
         Signature algorithm name: SHA1withRSA
         Version: 3
2013-11-21 15:08:58 - Unlocked keystore at C:/Users/jam42/.android/debug.keystore - fingerprint: D9:C1:AF:07:04:B9:AC:14:F2:11:E9:0C:2D:9D:77:8B
2013-11-21 15:08:58 - Trying to read keystore from: C:/Popcorn_Workspace/Calabash/debug.keystore - no such file
2013-11-21 15:08:58 - Trying to read keystore from: C:/Users/jam42/.local/share/Xamarin/Mono for Android/debug.keystore - no such file
2013-11-21 15:08:58 - Trying to read keystore from: C:/Users/jam42/AppData/Local/Xamarin/Mono for Android/debug.keystore - no such file


Thanks,
jo.

Gabriela Radu

unread,
Jun 17, 2014, 7:38:18 AM6/17/14
to calabash...@googlegroups.com
I know this is an old post, but even today with calabash-android version 0.4.20 i received that error. I was using Asincon and only after deleting that software it worked. The problem is that i don't get why that piece of software influenced this much.
Reply all
Reply to author
Forward
0 new messages