MD5 Signature Issues: Terminal Error

I am attempting to publish an app with Gamecircle and am trying to set up the MD5 Signature. I got to step 2 in the cookbook guide (Production Keystore) and entered the command into the terminal and got this error:

keytool error: java.lang.Exception: Keystore file does not exist: ./debug.keystore
java.lang.Exception: Keystore file does not exist: ./debug.keystore
at sun.security.tools.KeyTool.doCommands(KeyTool.java:569)
at sun.security.tools.KeyTool.run(KeyTool.java:172)
at sun.security.tools.KeyTool.main(KeyTool.java:166)

Stuck here :( anyone have any suggestions?

Comments

  • BBEnkBBEnk Member Posts: 1,764
    in terminal type keytool -list -keystore "put a space here"then drag your keystore file into terminal and hit enter should ask for password then output MD5.
  • bluelotusbluelotus Member Posts: 96
    That worked, You are my hero.

    CHEFS: I think you could explain this better in the cookbook. When most of us see a terminal command we don't assume that we are supposed to change a part of it. Thanks.
  • GoatTeaBlendGoatTeaBlend Member, PRO Posts: 22
    what about on pc?

  • GoatTeaBlendGoatTeaBlend Member, PRO Posts: 22
    I am getting an error "keytool is not recognized as an internal or external command" any ideas?
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    I am getting an error "keytool is not recognized as an internal or external command" any ideas?
    sounds like you're on windows and don't have the PATH variable updated with the location of the android SDK.

    You'll have to browse to the location of the keytool location and run it from there.
  • GoatTeaBlendGoatTeaBlend Member, PRO Posts: 22
    edited October 2013
    Just to be sure I would be using keytool.exe or would it be the jarsigner?
  • FallacyStudiosFallacyStudios Member Posts: 970
    edited June 2014

    @BBEnk @jonmulcahy‌ I understand what you did there and I have my MD5, but I still have a question about this.

    Why would we be getting the MD5 from our keystore? You use the keystore to sign apps for Android, but when you submit to amazon don't you submit the unsigned app? (Atleast I have been this whole time). So how would the unsigned app have any association with the keystore and its MD5 if you aren't submitting an app signed with it?

  • BBEnkBBEnk Member Posts: 1,764

    you will need the MD5 for setting up Gamecircle,ETC.

  • FallacyStudiosFallacyStudios Member Posts: 970

    @BBEnk Thanks for responding. I have the MD5. What I am wondering is how you are submitting your Amazon app? Are you submitting it signed with the same keystore you use for Google Play? Or are you submitting it as I have been as the "unsigned" apk?

    Last I checked, you couldn't submit it signed with the keystore for Google Play. Thus why I am confused on why you get the MD5 from a keystore that isn't ultimately being used to sign the app (since it is unsigned).

  • BBEnkBBEnk Member Posts: 1,764

    I submit to Google signed because my games are free, I think you have to create a unique keystore for each app on Google if Paid or inApps.

  • FallacyStudiosFallacyStudios Member Posts: 970

    @BBEnk No no I'm talking about submitting to Amazon. Lets just slim this out.

    When you submit to amazon, after you have published through the portal and have the signed and unsigned apks. Which are you submitting to amazon? Are you submitting the signed apk or the unsigned?

  • BBEnkBBEnk Member Posts: 1,764

    Unsigned to Amazon.

  • FallacyStudiosFallacyStudios Member Posts: 970

    @BBEnk See that is what I don't get. If you are submitting your unsigned app, if I'm not mistaken, that means it wasn't signed with your keystore. If it isn't signed with your keystore than the MD5 you get from that keystore should technically be meaningless because you aren't using it.

    That is what I'm not understanding. Sorry for all the questions, just trying to understand how this thing is working. You have submitted using GameCircle right?

    @BlackCloakGS @dgackey Sorry to bug, but mind dropping in and shedding light on how this thing works as I am a bit confused. It really doesn't seem like it should be working. Unless the MD5 is really just unimportant data they aren't even utilizing.

  • BBEnkBBEnk Member Posts: 1,764
    edited June 2014

    I think there just using your MD5 to create a more unique API Key for using Gamecircle and yes my games use Gamecircle on Amazon and Google Play.

  • FallacyStudiosFallacyStudios Member Posts: 970

    @BBEnk Ok I see. Nice you can use it for Google Play too?

Sign In or Register to comment.