将 APK 文件上传到 google play

将 APK 文件上传到 google play

问题描述:

我尝试将 APK 文件上传到 Google Play,但收到此错误:

I tried to upload an APK file to Google Play and I received this error:

您上传的 APK 签名的证书过早过期.您需要使用过期的证书为您的 APK 签名

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

你能帮我解决这个问题吗?

Can you help me solve this problem?

keytool.exe -genkey -v -keystore release.keystore -alias TicTacToe -keyalg RSA -keysize 2048 -validity 10000 

在哪里可以找到此代码?

Where can I find this code?

需要大于 50 年!使用:-validity 20000

It needs to be greater than 50 year's! Use: -validity 20000