Market requires that the certificate used to sign the apk be valid until at least ...

part12studiospart12studios Member Posts: 620
Hi everyone,

So I'm super excited that I got GS to publish an app I can install and test on devices.. however now the moment of truth happens when I go to upload the app to the android market.. when i do i get this message:

"Market requires that the certificate used to sign the apk be valid until at least October 22, 2033. Create a new certificate."

I used this tutorial which got me on the right track.. and even in this tutorial I used 10000 for the "validity" I tried a 2nd time and used 11111 to be sure i went above and beyond on that date..

It is talking about a certificate... is this something else outside of the keystore file?

Thanks
Caleb

Comments

  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    I had a post on the youtube video saying if you copy paste the test into terminal it leave off the validity setting. Try hand typing the whole thing. I am going to try it as well since I just got that same message from android. If it fixes it i'll update the video.
  • part12studiospart12studios Member Posts: 620
    ok i did go back and leave that off. same error occured for me..

    i pasted "keytool -genkey -v -keystore zenhopper.keystore -alias zenhopper -keyalg RSA -keysize 2048"

    answered all the questions also as instructed in the tutorial.. everything seemed to go just fine.. just can't get it to upload to store

    Thanks!
    Caleb
  • nCartoonnCartoon Member, PRO Posts: 54
    same error occured for me
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    No I mean when you copy it, it is leaving it out. You need to hand type it and make sure it's in there.
  • part12studiospart12studios Member Posts: 620
    yea i got it to work this time.. not sure what i did different, but i definitely included the validity stuff.. so yea must have been a copy/paste problem.. thanks for helping clear that up!
  • osalzanoosalzano Member, PRO Posts: 136
    @tenrdrmer I did everything as explained in your video and I can generate the keystore without any problem. But when I select it in the GS Publishing Manager, I insert the Keystore Password (the same i used with the keytool) and nothing happens. I get stuck, with the "!" appearing beside the password field. Everything seem to be configured propely. Have you ever experienced this issue?
  • nCartoonnCartoon Member, PRO Posts: 54
    the simple Keysotre Code file in two lines you have to remove the space to be in one line.
  • ThemistoklesVThemistoklesV Member, PRO Posts: 138
    HAPPY NEW YEAR !!!!!!!!!!!!
    @osalzano
    i have the same problem. im stuck with the "!" at the GS Publish Manager... i tryed to generate the keystore and the apk file through eclipse but nothing happened...
    any solution???
  • part12studiospart12studios Member Posts: 620
    happy new year to you too! :) don't do it with eclipse! just use console.. i tried that route too and had nothing but trouble.. its not needed..

    just use terminal.. the video above doesn't require that program. just start from scratch..

    good luck!
  • ThemistoklesVThemistoklesV Member, PRO Posts: 138
    @part12studios
    i redo the whole workflow with terminal and im stacked again with the "!" at the GE publishing manager!
    any help or suggestions??
  • part12studiospart12studios Member Posts: 620
    yea i'm not sure. i followed that video tutorial embedded above and it worked like a charm.. perhaps you can contact GS support since you have a pro license. Be sure you downloaded alllll of the android files and make sure you gave them all the time to download and install.. it does take a little while to get all the files.. i'm not sure what you mean by GE (GS?) publishing manager.
  • GLGAMESGLGAMES SingaporeMember Posts: 988
    think the issue is this -alias xxxxxxx.alias , we all left out this .alias at the back.
    every command need to end with .????? same for -keystore XXXXXXX.keystore
  • ThemistoklesVThemistoklesV Member, PRO Posts: 138
    @part12studios
    yes i meant GS Publisher!!!. i ll check again for updates...

    @GLGames
    i didn't understand you... could you please more precise?? thanks in advanced...
  • GLGAMESGLGAMES SingaporeMember Posts: 988
    edited January 2012
    the code should be something like this
    keytool -genkey -v -keystore zenhopper.keystore -alias zenhopper.alias -keyalg RSA -keysize 2048 -validity 10000

    when u select keystore in GS publisher you will see xxxxxxx.alias appear not mykey in the verified section.
  • ThemistoklesVThemistoklesV Member, PRO Posts: 138
    @GLGames
    my problem is that i cant verify the key in gs publisher.......im stucked @! after i enter the key.....
  • GLGAMESGLGAMES SingaporeMember Posts: 988
    there's no verify button to click after entering password ppress enter then click next
  • ThemistoklesVThemistoklesV Member, PRO Posts: 138
    exactly!!!!
Sign In or Register to comment.