I have a custom keystore that I use for signing my apk. now I want to use the same keystore for debugging. when I go to eclipse->windows->preferences->android->build and set my custom key store I get "Keystore was tampered with, or password was incorrect"?
I had the same issue and here are the steps to properly create a custom keystore that can be used for debugging in Eclipse:
Basically what you should do is that change both storepasswd
and keypasswd
for the alias androiddebugkey
to "android".
Here are the commands:
keytool -changealias -keystore mykeystore.keystore -alias [old alias] -destalias androiddebugkey
keytool -keypasswd -keystore mykeystore.keystore -alias androiddebugkey
keytool -storepasswd -keystore mykeystore.keystore
If you don't know your old alias, look it up using
keytool -list -v -keystore mykeystore.keystore
in Command prompt not able to enter the password