如何将 SHA-1 添加到 Android 应用程序
我正在尝试在 Firebase 中创建一个动态链接,当我选择 Android 应用时,它显示一条错误消息,指出将 SHA-1 添加到此 android 应用",我已经添加了凭据,但我不知道我究竟如何将 SHA-1 添加到应用程序"
I'm trying to create a dynamic link in Firebase, when I'm selecting the android app, it shows an error saying "Add SHA-1 to this android app", I've already added a credential, but I'm not sure how exactly do I "add SHA-1 to the app"
这是怎么做到的?
android studio 中的 SHA-1 生成:
SHA-1 generation in android studio:
从右侧面板中选择 android studio 中的 Gradle
Select Gradle in android studio from right panel
选择您的应用
在任务 -> android-> 签名报告
In Tasks -> android-> signingReport
双击signingReport
.
您将在Gradle 控制台"中找到 SHA-1 指纹
You will find the SHA-1 fingerprint in the "Gradle Console"
在 firebase 控制台中添加这个 SHA-1 指纹
Add this SHA-1 fingerprint in firebase console