I'm trying to publish an app to google play, and it won't allow me, it says:
You uploaded an APK signed with a certificate that is not valid.
You need to sign tour APK with certificate that is currently valid.
Screenshot:
How do I remedy this error?
All applications must be signed. The system will not install an application on an emulator or a device if it is not signed. To test and debug your application, the build tools sign your application with a special debug key that is created by the Android SDK build tools.
The signed apk is simply the unsigned apk that has been signed via the JDK jarsigner tool. If you want to generate a signed apk then refer to How to Generate Signed Apk in Android Studio?
Solved it by changing the system date of my computer. I set it to today - 2 days and created a new keystore, tried to upload and it worked.
I ran into this gotcha but my solution was different. My system time was valid, but maybe it was several minutes off. Anyway if you run into this message but appear to have a correct system time, here are two things I did which worked
Then try to upload again. It just worked for me the second time.
Another issue I ran into was ant release
reporting that the keystore was tampered with or my password was incorrect when I signed my app. All I did was retry a second time and ant release
just went through.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With