警告:PKCS12 密钥库不支持不同的存储密码和密钥密码.忽略用户指定的 -keypass 值.在 Android Studio 中 [英] Warning: Different store and key passwords not supported for PKCS12 KeyStores. Ignoring user-specified -keypass value. in Android Studio

查看:46
本文介绍了警告:PKCS12 密钥库不支持不同的存储密码和密钥密码.忽略用户指定的 -keypass 值.在 Android Studio 中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建一个新的 Keystore 来生成一个签名的 apk,但我收到了这样的错误,请帮助我摆脱这个错误.

I am trying to create a new Keystore to generate a signed apk but I am getting an error like this, please help me to get rid of this error.

推荐答案

这是一个 Android Studio 4.2 的已知问题.它运行在具有此限制的 JDK11 上.

This is a known issue with Android Studio 4.2. It runs on JDK11 which has this limitation.

Google 自己的关于应用签名的文档指出密钥密码应该与您为密钥库选择的密码不同";所以我猜他们打算在某个时候解决这个问题.

Google's own documentation on app signing states that the key password "should be different from the password you chose for your keystore" so I'm guessing they intend to fix this at some point.

这篇关于警告:PKCS12 密钥库不支持不同的存储密码和密钥密码.忽略用户指定的 -keypass 值.在 Android Studio 中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆