安卓工作室。构建已签名的APK。获取密钥失败

我几个月来一直在构建我的应用程序的发布版本,现在突然我收到了这个错误。
Failed to read key ******** from store ***** Get Key Failed. Given final block not properly padded. Such issues can arise if a bad key is used during decryption.
这太令人沮丧了。

到目前为止我所做的

  1. 阅读有关此错误的所有帖子并尝试所有解决方案
  2. 验证我的密码是正确的
  3. 选中和取消选中“保存密码”
  4. 验证我的密钥库位置是否正确

回答

如果您收到类似 的错误block not properly paddedbad key或者PKCS12在签署 App Bundle 或 APK 时,请尝试对密钥和密钥库文件使用相同的密码,它对我有用。


以上是安卓工作室。构建已签名的APK。获取密钥失败的全部内容。
THE END
分享
二维码
< <上一篇
下一篇>>