Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android - Eclipse: Keystore was tampered with, or password was incorrect

I'm developing an android project signing my app (while developing) with the debug.keystore ... Now I need to use the "real" production keystore (the one which I use when I upload my apk to the play store), while developing to test some in app purchases things.

So it would be great to use the production keystore in eclipse to start the app on my device, so I could use the eclipse debugger etc.

After finishing this testing I want to switch back to the debug.keystore .

So I tried to replace the debug.keystore file in the .android folder, but then I get the error:

Keystore was tampered with, or password was incorrect

since I have not entered the password yet. Where do I enter the password in eclipse (juno)?

Or is there better way (in a wizzard for example) in eclipse, without replacing the debug.keystore file directly, to specify the current keystore that should be used when launching my android application from eclipse run button?

like image 461
sockeqwe Avatar asked Jan 07 '13 13:01

sockeqwe


2 Answers

Change the password to default password i.e. android.

here is the SO link . how to Change the Keystore password

like image 156
Rahul Baradia Avatar answered Nov 18 '22 18:11

Rahul Baradia


I would like to just enter the password in eclipse for the release keystore (like in the export dialog).

Since there is no dialog & I don't want to mess with eclipse internal configuration I use a custom keystore as a work-around.

Read this answer for how to use your release keystore for debugging

like image 40
Thorsten Niehues Avatar answered Nov 18 '22 19:11

Thorsten Niehues