【发布时间】:2018-03-29 20:16:02
【问题描述】:
将 der 文件导入密钥库后,如下所示
keytool -keystore my-release-key.keystore -importcert
-file ~/Downloads/upload_cert.der -alias uploadcert
我在尝试组装发行版 APK 时遇到错误
trusted certificate entries are not password-protected
如果我添加
-protected
到进口,我明白了
keytool error: java.lang.IllegalArgumentException: password can't be null
如果我在 -protected 之后传递密码,我会收到使用帮助消息。 不知道如何传递密码。
知道我是否在正确的路径上使用 google 上传证书 der 文件进行签名?
【问题讨论】:
标签: apk google-signin keytool