0

So I want to get a key to use Google API in Eclipse with Android. I have followed the instruction here and here but I have the following issue, after I type like this :

C:\Users\User>$ keytool -list -v -alias androiddebugkey -keystore C:\Users\User\
.android\debug.keystore -storepass android -keypass android

the cmd said like this :

'$' is not recognized as an internal or external command, operable program or batch file.

So I tried to delete the $ and the cmd said :

'keytool' is not recognized as an internal or external command, operable program or batch file.

Can I get some help with this issue?

j0k
  • 21,914
  • 28
  • 75
  • 84
Blaze Tama
  • 10,129
  • 11
  • 62
  • 119
  • 1
    Your typing in a Linux shell command. It's probably keytool.exe, and there shouldn't be a '$'. The '$' just indicates that it's a shell command. – tobier Mar 29 '12 at 14:31
  • Thanks Sir :D Yes, i also tried to delete the "$" and the cmd said "keytool" is not exist :D – Blaze Tama Mar 29 '12 at 14:42

2 Answers2

2

Find the keytool executable (see I can’t find the Android keytool) and type in:

keytool.exe -list -v -alias androiddebugkey -keystore C:\Users\User\.android\debug.keystore -storepass android -keypass android
Community
  • 1
  • 1
tobier
  • 584
  • 1
  • 4
  • 18
1

You have to exceute the execute from the directory where keytool is located or add the directory to the path. A google search should help you finding out how to work with cmd.

plaisthos
  • 6,008
  • 6
  • 33
  • 62
  • Thanks :D Can you help more?i have done some research's but almost all doc's or question's answer is the one that i post.... – Blaze Tama Mar 29 '12 at 14:40