新建自己的密钥库打包失败

使用调试密钥库可以正常打包

新建密钥库不能打包

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ‘:StackAnimal:packageRelease’.

Failed to read key physicsgame from store “D:\CocosGame\PhysicsGame\pwkey\key.keystore”: Get Key failed: Given final block not properly padded. Such issues can arise if a bad key is used during decryption.

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output. Run with --scan to get full insights.

    密钥库有什么规则吗?英文数字大小写?长度要求?

mac cocos creater 打包也出现这个问题,请问你解决了吗?