12

am using Linux opensuse, eclipse helios package

i have to import google maps in my application for which i need an API key, so in order to get the api key i need to get the MD5 sum value which has to be got by running the debug.keystore file using keytool

but the problem is my whole ".android" folder is missing including debug.keystore file.but all the projects a re running smoothly,am able to find it in windows xp, but not in linux(opensuse)

if so what i must do in order to generate a new debug.keystore file???

D3vil_Mind
  • 339
  • 2
  • 3
  • 13

3 Answers3

25

Navigate to the .android folder in your home directory ~/.android (Linux,Mac OS) or C:\Documents and Settings\[User Name]\.android in Windows XP or C:\Users\.android in Windows Vista or Windows 7, and delete the debug.keystore file. Then go to eclipse and clean the project, this will create a new debug.keystore file with default validity period 365 days.

For Linux user: Delete your debug certificate (debug.keystore and ddms.cfg) under ~/.android/debug.keystore

For Windows user: Delete your debug certificate (debug.keystore and ddms.cfg) under
C:\Documents and Settings\Administrator\.android

lambda
  • 3,295
  • 1
  • 26
  • 32
Android
  • 2,383
  • 1
  • 26
  • 44
  • 1
    Thanks dude its i finally figured out what was the error i did in searching for it friends if u are searching for debug.keystore file in any of the linux distribution make sure u have "show hidden file-> enabled" since by default the ".android" folder is hidden, dont forget to do this :-) – D3vil_Mind Feb 12 '12 at 00:40
5

I am assuming you are developing in eclipse. select preferences-> android-> build-> default debug store or custom debug store, see path there and find debug.keystore.

jeet
  • 29,001
  • 6
  • 52
  • 53
  • Thanks dude its i finally figured out what was the error i did in searching for it friends if u are searching for debug.keystore file in any of the linux distribution make sure u have "show hidden file-> enabled" since by default the ".android" folder is hidden, dont forget to do this :-) – D3vil_Mind Feb 12 '12 at 00:39
1

Thanks dude its i finally figured out what was the error i did in searching for it

friends if u are searching for debug.keystore file in any of the linux distribution make sure u have "show hidden file-> enabled" since by default the ".android" folder is hidden, dont forget to do this :-)

D3vil_Mind
  • 339
  • 2
  • 3
  • 13