提问人:Udit Sharma 提问时间:11/14/2023 更新时间:11/14/2023 访问量:11
在为 firebase 生成 SHA1 密钥时无法识别术语“-alias”
The term '-alias' is not recognized , while generating SHA1 key for firebase
问:
在为 firebase 生成 SHA1 密钥时,我正在使用此命令
keytool -list -v \
-alias androiddebugkey -keystore %USERPROFILE%\.android\debug.keystore
然后我收到这个错误
-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:2 char:1
+ -alias androiddebugkey -keystore %USERPROFILE%\.android\debug.keystor ...
+ ~~~~~~
+ CategoryInfo : ObjectNotFound: (-alias:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
有人向我建议了这个命令
keytool -list -v -alias androiddebugkey -keystore "%USERPROFILE%/.android/debug.keystore"
现在我收到这个错误
keytool error: java.lang.Exception: Keystore file does not exist: %USERPROFILE%/.android/debug.keystore
java.lang.Exception: Keystore file does not exist: %USERPROFILE%/.android/debug.keystore
at java.base/sun.security.tools.keytool.Main.doCommands(Main.java:917)
at java.base/sun.security.tools.keytool.Main.run(Main.java:419)
at java.base/sun.security.tools.keytool.Main.main(Main.java:412)
PS D:\# Source Code\Projects\Find the fellowers\findfellows>
请帮助,或建议任何 Firebase 与 flutter 项目集成的教程视频
我正在尝试为与我的 flutter 项目的 Firebase 连接生成 SHA1 密钥,但我遇到了几个错误,我希望有人帮助我。
答: 暂无答案
上一个:如何在Ruby中对数字数组求和?
下一个:生成 Openssl 签名
评论