I added double-quotes around the path to the keystore and got it to
work.
On Oct 28, 1:32 pm, Brian <[EMAIL PROTECTED]> wrote:
> Thanks for your reply. I keep getting 'Usage error, and is not a
> legal command'. I've looked at my command several times and don't see
> anything wrong. Here it is:
>
> C:\Program Files\Java\jdk1.6.0_07\bin>keytool -list -alias
> androiddebugkey -keystore C:\Documents and Settings\...me...\Local
> Settings\Application Data\Android\debug.keystore -storepass
> androidpassword -keypass androidpassword androiddebugkey
>
> I'm on WinXP if that matters. What is the last 'androiddebugkey'
> parameter? I don't see a - argument before it. I tried it with and
> without that and still got the 'Usage error'
>
> On Oct 27, 3:41 pm, androlog <[EMAIL PROTECTED]> wrote:
>
> > Just use this:
>
> > C:\Program Files\Java\jdk1.6.0_07\bin\keytool-list -alias
> > androiddebugkey -keystore C:\Users\...\AppData\Local\Android
> > \debug.keystore -storepass androidpassword -keypass androidpassword
> > androiddebugkey
>
> > and substitute with your actual path tokeytooland your local folder
> > where keystore lives.
> > Please let me know whether it helps.
>
> > On Oct 27, 12:21 pm, Brian <[EMAIL PROTECTED]> wrote:
>
> > > I'm following the directions here:
>
> > >http://code.google.com/android/toolbox/apis/mapkey.html#getfingerprint
>
> > > but it appears mykeytoolusage is different:
>
> > > -list [-v | -rfc] [-alias <alias>]
> > > [-keystore <keystore>] [-storepass <storepass>]
> > > [-storetype <storetype>] [-provider
> > > <provider_class_name>] ...
>
> > > what do I use for storetype and provider? Are the directions for a
> > > different version ofkeytool? Does it use the one from the JAVA_HOME
> > > path? I initially had that as java1.4 and then changed to java1.5,
> > > but got the samekeytool-list usage and same error.
>
> > > I'm pretty confused by all this. I was glad to find what looked like
> > > up to date instructions, but now I'm back to confusion and despair ;-(
>
> > > Would appreciate any help, thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---