APK expires to soon

I tried to upload my .APK file & I got a message saying

"Upload failed
You uploaded an APK signed with a certificate that expires too soon. You need to sign your APK with a certificate that expires farther into the future."

How do I make an apk that doesn't expire to soon?

Comments

  • http_gamesaladhttp_gamesalad Member Posts: 1,340

    bump

  • LovejoyLovejoy Member Posts: 2,078

    This is what i use

    $ keytool -genkey -v -keystore yourkeyname.keystore -alias youralias -keyalg RSA -keysize 2048 -validity 100000

    as you can see -validity is set to 100000

    Fortuna Infortuna Forti Una

  • http_gamesaladhttp_gamesalad Member Posts: 1,340
    edited April 2015

    @lovejoy I added the extra "0" to "10000" like you did .. & it gave me the samething

  • LovejoyLovejoy Member Posts: 2,078

    @http_gamesalad said:
    lovejoy I added the extra "0" to "10000" like you did .. & it gave me the samething

    Maybe try 9999. Other than that i don't know what it could be.

    Fortuna Infortuna Forti Una

  • http_gamesaladhttp_gamesalad Member Posts: 1,340

    @lovejoy I opened terminal & typed in "keytool" & I copy & pasted

    keytool -genkey -v -keystore tincomeapps.keystore
    -alias tincomeapps -keyalg RSA -keysize 2048 -validity 99999

    & put in the rest of the information & still android is saying "it expires to soon"

    I've tried "10000" & "100000" for the validity ... nothing works..

  • http_gamesaladhttp_gamesalad Member Posts: 1,340

    bump?

Sign In or Register to comment.