Android Question [solved] how to make a valid keystore file for the google play store?

MarkusR

Well-Known Member
Licensed User
Longtime User
hello,
a team member in other country try to provide my app in google play store but he get a message the app expire soon :(

i need help how to use the keytool for google play. i saw elsewhere, is -validity 10000 allowed???

without expire/validity it get a automatic expire date
D:\Java\jdk-9.0.4\bin\keytool -genkey -v -keystore D:\MR_B4A\deufolmr.keystore -alias b4a -keysize 1024
with ten years in future it did also not work
D:\Java\jdk-9.0.4\bin\keytool -genkey -v -keystore D:\MR_B4A\deufolmr.keystore -alias b4a -validity 3650 -keysize 1024
 
Last edited:

MarkusR

Well-Known Member
Licensed User
Longtime User
ok, i found this in web, seems if me using 10000 it should be ok
If you plan to publish your application(s) on Google Play, note that a validity period ending after 22 October 2033 is a requirement. You can not upload an application if it is signed with a key whose validity expires before that date.

If you really want to see your key's expiration time though, you can use keytool:

keytool -list -v -keystore my.keystore
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Upvote 0

MarkusR

Well-Known Member
Licensed User
Longtime User
this "Google Play App Signing service" looks like much effort/more time-consuming and complicated.
i will try a bigger validity first and hope we get this app in store this week.
 
Upvote 0

MarkusR

Well-Known Member
Licensed User
Longtime User
yes, thank you :)
(our post #2 #3 overlapped at the same time)
 
Upvote 0
Top