ÇAĞ*_*BUK 4 dart firebase firebase-authentication flutter
我正在为我的 Flutter 项目设置 Firebase。当我使用signInAnonymously()方法时,它会引发此错误:
I/BiChannelGoogleApi( 9532): [FirebaseAuth: ] getGoogleApiForMethod()
returned Gms: com.google.firebase.auth.api.internal.zzaq@41ffdb0
I/flutter ( 9532): PlatformException(FirebaseException, An internal
error has occurred. [ API key not valid. Please pass a valid API key.
], null) I/flutter ( 9532): error sign in
Run Code Online (Sandbox Code Playgroud)
用于访问 firebase 功能的 API 密钥似乎无效。
试试这个重新下载google-services.json文件并将其放在android>app目录
然后运行flutter clean然后再次运行应用程序
| 归档时间: |
|
| 查看次数: |
5274 次 |
| 最近记录: |