1

GoogleマップのAPIキーを取得しようとしていますが、この行を試したところ、このエラーが発生しました

C:\Program Files\Java\jdk1.7.0\bin>keytool androiddebugkey -keystore C:\Users\KHALED\.android -storepass android -keypass android
Illegal option:  androiddebugkey
Key and Certificate Management Tool
Commands:
 -certreq            Generates a certificate request
 -changealias        Changes an entry's alias
 -delete             Deletes an entry
 -exportcert         Exports certificate
 -genkeypair         Generates a key pair
 -genseckey          Generates a secret key
 -gencert            Generates certificate from a certificate request
 -importcert         Imports a certificate or a certificate chain
 -importkeystore     Imports one or all entries from another keystore
 -keypasswd          Changes the key password of an entry
 -list               Lists entries in a keystore
 -printcert          Prints the content of a certificate
 -printcertreq       Prints the content of a certificate request
 -printcrl           Prints the content of a CRL file
 -storepasswd        Changes the store password of a keystore
Use "keytool -command_name -help" for usage of command_name
4

1 に答える 1

2

追加する必要があると思います

-list -alias

コマンドラインの「keytool」と「androiddebugkey」の間-つまり:

keytool -list -alias androiddebugkey -keystore C:\Users\KHALED\.android\debug.keystore -storepass android -keypass android
于 2012-07-02T21:25:42.067 に答える