【问题标题】:Where could I find sha1 fingerprint in nativescript android app?我在哪里可以在 nativescript android 应用程序中找到 sha1 指纹?
【发布时间】:2017-12-29 01:13:12
【问题描述】:

我在使用 Google Firesbase 登录时遇到错误

JS: Make sure you've uploaded your SHA1 fingerprint(s) to the Firebase console
JS: Has the SHA1 fingerprint been uploaded? Sign-in status: Status{statusCode=NETWORK_ERROR, resolution=null}

如何解决这个问题?

【问题讨论】:

    标签: firebase firebase-authentication nativescript angular2-nativescript nativescript-plugin


    【解决方案1】:

    您可以使用此页面生成所需的 SHA1 代码。 https://developers.google.com/android/guides/client-auth

    然后在设置常规选项卡上的 Firebase 控制台中有一个标记为:“SHA 证书指纹”的位置,您可以在其中粘贴指纹并保存它们。

    请记住,执行此操作后,您需要下载 google-services.json 文件并将其放在 app/App_Resources/Android 文件夹中。

    【讨论】:

    • 我需要把这个命令放在哪里? > keytool -exportcert -list -v \ -alias androiddebugkey -keystore ~/.android/debug.keystore
    • 我从我的 NS 项目基础的命令行中运行它,只要你的路径正确,我认为这并不重要。
    • 我被错误的 android 密钥库密码击中。最后我明白了。谢谢人
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-02-04
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多