arpit
arpit

Reputation: 555

Not able to upload apk file at Android Market

Hope you all are well.

I want to upload my application in android market.but it show me an error

The certificate that signed this apk is not valid until the future.Create a new certificate.

I followed this steps: Android Tools > Export signed Application Package

my system time show correct time can any one help me.

Upvotes: 1

Views: 1045

Answers (6)

Wolfen
Wolfen

Reputation: 380

I solved this by changing my systemclock's date to -2 days. Then I created a new certificate with the same parameters. It worked fine.

Upvotes: 0

arpit
arpit

Reputation: 555

I changed my system date before 2 days and it's working. thanks for reply...

Upvotes: 0

user834900
user834900

Reputation:

Use this code:-

$ keytool -genkey -v -keystore my-release-key.keystore
-alias alias_name -keyalg RSA -keysize 2048 -validity 10000

Upvotes: 0

njzk2
njzk2

Reputation: 39406

Take a deep look at your certificate, and see when the validity starts (from the error message, most likely in a close future). Then either :

  • make sure your computer date is correct, (timezone and all), and try again.
  • wait until your certificate is valid, and upload your app again

Upvotes: 1

Matthias B
Matthias B

Reputation: 5577

Taking a look at the developer guide for publishing market applications you have to create a certificate thats valid for ~25 years. Probably you didn't set this parameter and your certificate is expired.

http://developer.android.com/guide/publishing/app-signing.html#cert

Upvotes: 0

Paresh Mayani
Paresh Mayani

Reputation: 128448

Create a new certificate/sign key, your old one has probably expired.

Upvotes: 0

Related Questions