keytool-importkeypair
keytool-importkeypair copied to clipboard
How to use in ubuntu
my signature below
##!/bin/sh
转换平台签名命令
./keytool-importkeypair -k dougkeystore.jks -p 123456 -pk8 platform.pk8 -cert platform.x509.pem -alias doug
demo.jks : 签名文件
123456 : 签名文件密码
platform.pk8、platform.x509.pem : 系统签名文件
demo : 签名文件别名
./signature.sh
" with SHA1 Fingerprint=B6:A1:68:4C:74:D7:89:9D:A8:95:4D:B8:95:78:21:F9:20:C6:6A:64
正在将密钥库 /tmp/keytool-importkeypair.gFJo/p12 导入到 dougkeystore.jks...
, 是否覆盖? [否]: ug
导入新的别名 (按回车以取消对此条目的导入): dougsys
的条目。 别名 doug
已完成导入命令: 1 个条目成功导入, 0 个条目失败或取消
Warning: JKS 密钥库使用专用格式。建议使用 "keytool -importkeystore -srckeystore dougkeystore.jks -destkeystore dougkeystore.jks -deststoretype pkcs12" 迁移到行业标准格式 PKCS12。
Installation failed with message INSTALL_FAILED_SHARED_USER_INCOMPATIBLE. It is possible that this issue is resolved by uninstalling an existing version of the apk if it is present, and then re-installing.
WARNING: Uninstalling will remove the application data!
Do you want to uninstall the existing application?