I am having problems publishing my first game to Google Play. I get the following message when I try to upload my APK to ALPHA upload on Google Play account.
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.
Below is what I did to sign my APK file before uploading it to Google Play. I used the Keytool built in Java 7 and the command line to do this. I have already setup the Keytool path on my windows system.
If anyone sees any mistakes below, please let me know.
1. Using the command line (CMD) type in the following command:
keytool -genkey -v -keystore U-Boat-Bunker-St-Amiot.keystore -alias aliasname -keyalg RSA -validity 999999
Where mykeystore is my application name (U-boat Bunker St Amiot) not sure about the spaces.
Once the key was created it created a file called: “U-Boat-Bunker-St-Amiot.keystore” Located on my local MyDocuments hard drive.
2. I ran the Corona Simulator and selected “Build for Android” and in “Keystore” browse and select the file just created. Enter the password when prompted. Then select a new “aliasname” - a name that makes sense. It ended up making the aliasname - aliasname??
3. I uploaded the newley created APK file out of Corona SDK to the Google Play store.
OK I TRIED THE ABOVE AND GOT THE FOLLOWING ERROR IN GOOGLE
_ 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. _
Based on what I did above, any ideas. I am really stuck on this one??? Thanks, Jan