首页 文章

React-native Expo构建:“非法选项:-jarfile”尝试为Google API密钥android生成SHA1证书时出错

提问于
浏览
0

我按照Google身份验证集成的"building standalone apps"部分中提到的步骤操作,我按照链接https://docs.expo.io/versions/latest/sdk/google.html#run-keytool--list--printcert--jarfile-growlerapk--grep-sha1--awk--print-2--where-growlerapk-is-the-name-of-the-apk-produced-in-step-1生成"SHA-1 certificate fingerprint"

我收到一个错误:

非法选项:-jarfile

当我运行命令时:

keytool -list -printcert -jarfile growler.apk | grep SHA1 | awk '{ print $2 }'

我看到同样的命令也用于构建用于Facebook身份验证的独立Android应用程序 .

GitHub问题链接https://github.com/expo/exp/issues/71

1 回答

相关问题