android - 错误 - 任务 ':app:processDebugGoogleServices' 执行失败。在 React Native 应用程序上安装 FireBase 时
问题描述
在 React Native 应用程序上安装 FireBase 时,在向apply plugin: 'com.google.gms.google-services'
android/app/build.gradle 添加行后出现错误Task :app:processDebugGoogleServices FAILED
也许有人处理过类似的问题?在不同的帖子上找到了要删除的建议,apply plugin: 'com.google.gms.google-services'
但在这样做之后我得到了错误No Firebase App '[DEFAULT]' has been created - call firebase.initializeApp()
非常感谢帮助,在 React Native 上处理 FireBase 时,我总是遇到安装问题:/
解决方案
推荐阅读
- pandas - pandas - 将数据框列值转换为行
- regex - Ansible 在正则表达式之前插入 XML
- node.js - 由于“未知的\“reporter\”',Mocha 无法在 WSL 中的 WebStorm 中工作
- angular - 验证错误,req.body 未定义,似乎数据在服务和 API 之间丢失
- php - 如何使用 php 从远程服务器上的 zip 文件中读取 csv 文件?
- makefile - 当我没有权限时,如何在生成文件中使用命令?
- jenkins - Jenkins 在 `'docker' 上构建摊位正在等待`
- python - 如何从不同的子域引用 create_app?
- google-sheets - 将值隔离到单元格中的第六个“/”的最佳方法(Google 表格)
- css - 如何仅在 CSS 更改期间构建 CSS/PostCSS?