Android debug 调试release keystore

解决:Keystore was tampered with, or password was incorrect 错误。

1. 复制一份正式证书出来作为要修改为的临时调试证书。

2. 修改keystore密码的命令(keytool为JDK带的命令行工具)(将密码改为android)

keytool -storepasswd -keystore xxx.keystore
3. 修改keystore的 alias(别名):
keytool -changealias -keystore xxx.keystore -alias xxx_alias -destalias androiddebugkey
4. 修改alias的密码(将密码改为android):
keytool -keypasswd -keystore xxx.keystore -alias androiddebugkey
5. 查看修改的keystore文件信息:
直接keytool -list  -v -keystore xxx.keystore -storepass 密码



猜你喜欢

转载自blog.csdn.net/huyonghong2012/article/details/79685472
今日推荐