24

I had deleted debug.keystore file as I had forgotten the password to access it using keytool. How do I retrieve it or generate it again?

If I create a new keystore file using keytool then the eclipse crashes if I add it in the preferences.

Hick
  • 35,524
  • 46
  • 151
  • 243

2 Answers2

15

The same mechanism as for an expired debug key should work, see here https://stackoverflow.com/a/2196397/1127492

Community
  • 1
  • 1
Stefan
  • 4,645
  • 1
  • 19
  • 35
  • Even though I can regenerate it, I am still not able to do anything to it as I've forgotten the password. – Hick Mar 01 '12 at 13:25
  • 23
    The password for the debug keystore is "android" – NickT Mar 01 '12 at 13:30
  • @NickT Oh man you saved me from wasting the 31st minute on this. Just needed the debug keystore password while generating a SHA256. All my years of experience is a waste now! I did I forgot the default password being `android`! – sud007 Oct 03 '22 at 17:43
1

debug.keystore It is generated automatically - if missing - when you build and run a project from eclipse.

Jave
  • 31,598
  • 14
  • 77
  • 90
  • but i changed my operating system and now im in a mac. i have the same project that imported in eclipse but it seems generates another keystore file – Fcoder Jan 29 '14 at 21:53
  • hi @Fcoder..u found any solution for this??? – BMM Mar 08 '17 at 10:52
  • @Fcoder, I'm also interested whether you managed to restore the lost keystore file. Please, let us know – Ayaz Alifov Jul 13 '18 at 14:57