调试密钥库将无法正常工作

Fab*_*ook 3 java android keystore

我正在尝试使用我的调试密钥库,因此我可以获取地图视图的密钥,但是当我尝试使用它时,它会出现这个

Illegal option:  B:\Fabian\.android\debug.keystore
keytool -list [OPTION]...
Run Code Online (Sandbox Code Playgroud)

我喜欢这个:

keytool -v -list -keystore "C:\Users\MyPcName.android\debug.keystore"
Run Code Online (Sandbox Code Playgroud)

当我尝试使用时:

keytool -list -alias androiddebugkey \ -keystore <path_to_debug_keystore>.keystore \ -storepass android -keypass android
Run Code Online (Sandbox Code Playgroud)

它想出来了

C:\Program Files\Java\jdk1.7.0_04\bin>keytool -list -alias androiddebugkey \ -k
ystore B:\Fabian\.android\.keystore \ -storepass android -keypass android
Illegal option:  \
keytool -list [OPTION]...

Lists entries in a keystore

Options:

 -rfc                            output in RFC style
 -alias <alias>                  alias name of the entry to process
 -keystore <keystore>            keystore name
 -storepass <arg>                keystore password
 -storetype <storetype>          keystore type
 -providername <providername>    provider name
 -providerclass <providerclass>  provider class name
 -providerarg <arg>              provider argument
 -providerpath <pathlist>        provider classpath
 -v                              verbose output
 -protected                      password through protected mechanism

Use "keytool -help" for all available commands
Run Code Online (Sandbox Code Playgroud)

Aks*_*rey 5

先给keytool pathgre.它对我有用.

C:\Program Files\Java\Jre7\bin>keytool -list -alias androiddebugkey -keystore
 "C:\Uers\Akki\.android\debug.keystore" -storepass android -keypass android
Run Code Online (Sandbox Code Playgroud)

如果您已经安装了Jdk 1.7,它将生成SHA1密钥,该密钥不适用于该用途-v

C:\ Program Files文件\的Java\Jre7\BIN>的keytool -v -list -alias androiddebugkey -keystore "C:\ UERS\Akki.android\debug.keystore" -storepass的android -keypass机器人