2017-09-28 59 views
0

我遵循Google身份驗證集成的「構建獨立應用程序」部分中提及的步驟,並且我停留在步驟產生 「SHA-1證書指紋」 按鏈接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-1React-native Expo構建:「非法選項:-jarfile」嘗試爲Google API密鑰生成SHA1證書時出錯android

我得到一個錯誤:

Illegal option: -jarfile

當我運行命令:

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

我看到相同的命令也用於構建用於Facebook身份驗證的獨立Android應用程序。

鏈接GitHub的問題https://github.com/expo/exp/issues/71

回答

相關問題