简体   繁体   English

术语“-alias”未被识别为 cmdlet、function、脚本文件或可运行程序的名称

[英]The term '-alias' is not recognized as the name of a cmdlet, function, script file, or operable program

keytool -list -v密钥工具 -list -v
-alias androiddebugkey -keystore %USERPROFILE%.android\debug.keystore -alias androiddebugkey -keystore %USERPROFILE%.android\debug.keystore

i need to get SHA1, but when this code is run it will show what is in this picture check this out who can help me?我需要获取 SHA1,但是当运行此代码时,它会显示这张图片中的内容,看看谁能帮助我?

open applevel build,gradle file in new window then from gradel tab on left side open android->app->signing report it will generate SHA-1 key for debug and release在新的 window 中打开 applevel build,gradle 文件,然后从左侧的 Gradel 选项卡打开 android->app->signing 报告,它将生成用于调试和发布的 SHA-1 密钥

First thing go to the path of jdk and open cmd there:- example path(May be its your path two ): C:\Program Files\Java\jdk-15.0.2首先 go 到 jdk 的路径并打开 cmd 那里:- 示例路径(可能是它的路径二): C:\0.k2\Java\15.

Then paste the below line:-然后粘贴以下行: -

keytool -list -v -alias androiddebugkey -keystore %USERPROFILE%.android\debug.keystore keytool -list -v -alias androiddebugkey -keystore %USERPROFILE%.android\debug.keystore

where in place of %USERPROFILE%.android you need to put path of "debug.keystore" in my case it was: C:\Users\wil10\.android在 %USERPROFILE%.android 的位置,在我的情况下,您需要放置“debug.keystore”的路径:C:\Users\wil10\.ZC31B32364CE19CA58FCD150AZCEEC

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 '-alias' 不是内部或外部命令、可运行程序或批处理文件 - '-alias' is not recognized as an internal or external command, operable program or batch file 'appletviewer' 不是内部或外部命令,也不是可运行的程序或批处理文件 - 'appletviewer' is not recognized as an internal or external command, operable program or batch file 'wsgen'不被识别为内部或外部命令,可操作程序或批处理文件 - 'wsgen' is not recognized as an internal or external command, operable program or batch file 'scomp' 不是内部或外部命令,也不是可运行的程序或批处理文件 - 'scomp' is not recognized as an internal or external command, operable program or batch file 'mvn' 不是内部或外部命令,也不是可运行的程序或批处理文件 - 'mvn' is not recognized as an internal or external command, operable program or batch file 错误 -'javac' 不是内部或外部命令,也不是可运行的程序或批处理文件 - Error -'javac' is not recognized as an internal or external command, operable program or batch file 'cmd'未被识别为内部或外部命令,可操作程序或批处理文件 - 'cmd' is not recognized as an internal or external command, operable program or batch file VSCode 'java' 不是内部或外部命令,也不是可运行的程序或批处理文件 - VSCode 'java' is not recognized as an internal or external command, operable program or batch file 错误 - jar 不是内部或外部命令、可运行的程序或批处理文件 - Error - jar is not recognized as an internal or external command, operable program or batch file 'jar' 不是内部或外部命令、可运行程序或批处理文件错误 - 'jar' is not recognized as an internal or external command, operable program or batch file error
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM