Does anybod开发者_开发知识库y know how (and if) you can change the password used to sign android builds?
We have a live app, but want to change the signing password. The problem is that we don't want to force our users to reinstall the app (if we use a new key users won't be able to install the new build as an update to the original app).
I've looked all over the android documentation, but have been unable to find anything even related to the subject (except for making a new key...).
Actually, this is possible:
keytool -storepasswd -keystore my.keystore
You can change the key
password , if you have the old password. What you need to run is the following command :
keytool -keypasswd -alias "key_alias" -keypass "old_pass" -new "new_pass" -keystore "your_keystore_path"
This is not possible. It is the signing key that identifies you as the original author and not an imposter. The "how do I recover my lost key" question comes up frequently, and the only answer is to start over with a new application.
If you still have the original signing key, you could release an update to your application which exports user data used by your program, and then release a new app under a new key which can import it, so at least they'd be able to keep their data. Your migration update under the old key could even use an intent to send the the user to the market download page for the new application.
精彩评论