如何改变debug.keystore在Eclipse中custom.keystorekeystore、debug、custom、Eclipse

2023-09-07 01:31:24 作者:输过败过但不曾怕过

我看到键更改调试Android的自定义key.I需要更改键释放的密码和别名。我运行下面的命令,但我不能更改密码。

I saw that the key to change debug Android for a custom key.I need to change the password and alias of your key release. I am running the following command but I can't change the password.

密钥工具-changealias -keystore mykeystore.keystore -alias myalias-destalias androiddebugkey

密钥工具-keypasswd -keystore mykeystore.keystore -aliasandroiddebugkey

要测试密码是否已改变,相同的别名,我重复这个过程,然后输入新密码,但它说,该密码是错误的,只是我的旧密码工作。任何人都可以看到的问题?

To test if the password was changed and the same alias, I repeat the process and then type the new password but it says that the password is wrong and only works with my old password. Can anyone see the problem?

推荐答案

我帮我:D

更改密码

密钥工具-storepasswd -keystore my.keystore 密钥工具-keypasswd -alias&LT;&KEY_NAME GT; -keystore my.keystore keytool -storepasswd -keystore my.keystore keytool -keypasswd -alias <key_name> -keystore my.keystore

更改别名

密钥工具-changealias -keystore my.keystore -alias MY_NAME -destalias my_new_name keytool -changealias -keystore my.keystore -alias my_name -destalias my_new_name

我的错误是改变以创建密码-keypasswd和-storepasswd

My error was change the order to create the password -keypasswd and -storepasswd