【问题标题】:Android studio jarsigner: key associated with key not a private keyAndroid studio jarsigner:与密钥关联的密钥不是私钥
【发布时间】:2019-05-12 04:44:29
【问题描述】:

当我尝试使用 android studio 生成签名包时,出现以下错误"

Cause: jarsignerfailed with exit code 1 :
jarsigner: key associated with india not a private key
  • 试图清理项目,努力工作。
  • 这个问题是由另一个堆栈溢出帖子发布的,但他们建议清理一个 try agin,它对我不起作用

注意: 我的密钥库密码和其他密码相同。它以前对我有用。

【问题讨论】:

标签: android android-studio


【解决方案1】:

简单地说,“印度”不是私钥的标识符,而是证书中的 CN 字段。 您需要使用 keytool 列出私钥,然后使用私钥 id 而不是证书。姓名。在 jarsigner 中。

【讨论】:

    猜你喜欢
    • 2019-05-30
    • 1970-01-01
    • 2022-01-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2018-02-27
    • 2015-08-23
    相关资源
    最近更新 更多