Firebase身份验证:此应用无权使用Firebase
问题描述:
我的app/build.gradle:
My app/build.gradle:
compile 'com.firebaseui:firebase-ui-auth:2.3.0'
compile 'com.google.firebase:firebase-auth:11.0.4'
compile "com.android.support:design:26.1.0"
compile "com.android.support:customtabs:26.1.0"
compile "com.android.support:cardview-v7:26.1.0"
在调试模式下,我可以成功进行身份验证.由Firebase Auth.
And in DEBUG mode I sucess auth. by Firebase Auth.
- 输入电话号码
- 获取短信
- 通过短信确认成功
好.很好.
但是当我想在发布模式下执行此操作时,会出现下一个错误:
But when I want to do this in release mode I get the next error:
答
转到项目设置
然后在底部单击
请参见 https://developers.google.com/android/guides/client-auth 有关如何创建SHA1
See https://developers.google.com/android/guides/client-auth for how to create the SHA1