术语别名不被识别不被、别名、术语

由网友(天犹寒水犹寒)分享简介:在尝试获取要在Firebase中使用的调试证书指纹时,我们收到错误,声明未识别KeyTool,但我们下载了JDK并设置了路径,然后出现此错误:-alias : The term '-alias' is not recognized as the name of a cmdlet, function, script fi...

在尝试获取要在Firebase中使用的调试证书指纹时,我们收到错误,声明未识别KeyTool,但我们下载了JDK并设置了路径,然后出现此错误:

-alias : The term '-alias' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of
the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ -alias androiddebugkey -keystore %USERPROFILE%.androiddebug.keystor ...
+ ~~~~~~
    + CategoryInfo          : ObjectNotFound: (-alias:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

推荐答案

您似乎没有键入完整的命令。您应该正在运行:

12张图 50句英语日常交流用语 轻松学习不费力

keytool -list -v -keystore %USERPROFILE%.androiddebug.keystore -alias androiddebugkey -storepass <store_password> -keypass <key_password>(其中store_passwordkey_password默认为android

此命令的输出将包括您在Firebase控制台中输入的证书的SHA1和SHA256指纹。

阅读全文

相关推荐

最新文章