Monday, March 21, 2011

Re: [android-developers] using the keytool for getting google-maps-API-key returns unrecognized option error

21.03.2011 13:36, Bob Kerns пишет:
> I mean to say "Note: no -keypass parameter. It is not legal" Not
> -storepass. Sorry if I added to anyone's confusion!

It makes sense that getting a list of keys requires the keystore
password, not passwords for individual keys.

However, this only highlights the fact that the OP was getting a version
of keytool that did not come from the Sun / Oracle JDK.

Android docs say this:

http://developer.android.com/guide/publishing/app-signing.html#setup

> If you are developing on a version of Linux that originally came with
> GNU Compiler for Java, make sure that the system is using the JDK
> version of Keytool, rather than the gcj version. If Keytool is already
> in your PATH, it might be pointing to a symlink at /usr/bin/keytool.
> In this case, check the symlink target to be sure it points to the
> Keytool in the JDK.

I don't know what's different about the keytool in GCJ to warrant this
warning, but - there it is.

--
Kostya Vasilyev -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment