我有 KeySignature 错误如何解决?

I have KeySignature Error How To Solve This?

我已经在 Google 控制台中发布了我的应用程序,我联系了 google 开发人员帮助台,我在 google 控制台上上传了新的 jks,我尝试使用新的 jks 生成并且我有这个错误 如何解决这个问题?

我尝试了不同的别名但我无法解决可能是我忘记了别名但我确定它的名字 key0 ..

Something went wrong with the encryption tool

java.lang.NullPointerException: No key for alias: key0
    at com.google.wireless.android.vending.developer.signing.tools.extern.export.Utils.checkNotNull(Utils.java:55)
    at com.google.wireless.android.vending.developer.signing.tools.extern.export.KeystoreHelper.extractPrivateKey(KeystoreHelper.java:56)
    at com.google.wireless.android.vending.developer.signing.tools.extern.export.KeystoreHelper.getPrivateKey(KeystoreHelper.java:35)
    at com.google.wireless.android.vending.developer.signing.tools.extern.export.ExportEncryptedPrivateKeyTool.run(ExportEncryptedPrivateKeyTool.java:98)
    at org.jetbrains.android.exportSignedPackage.ExportSignedPackageWizard.run(ExportSignedPackageWizard.java:232)
    at com.intellij.openapi.progress.impl.CoreProgressManager$TaskRunnable.run(CoreProgressManager.java:736)
    at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess(CoreProgressManager.java:157)
    at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:580)
    at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:525)
    at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:85)
    at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:144)
    at com.intellij.openapi.progress.impl.CoreProgressManager.run(CoreProgressManager.java:395)
    at com.intellij.openapi.application.impl.ApplicationImpl.run(ApplicationImpl.java:314)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)

获取一些二进制编辑器并使用它查看您的私钥文件。您可能会找到别名。

注意。大写字母在该文件中被转换为小写字母。

您可以列出密钥库中的所有证书,如

于 Linux

keytool -list -v -keystore keystore.jks | grep "Alias name\|Creation date"

于 Windows

keytool -list -v -keystore keystore.jks | findstr "Alias Creation"