android - Firebase crashlytics build_id 为零,无法上传映射文件
问题描述
我无法在仪表板中启用 firebase crashlytics 并且 com_crashlytics_build_id 具有 00000000000000000000000000000000 值:
我在firebase中的现有项目中添加了一个新应用程序,下载json文件并将其放在应用程序文件夹中。
添加:
// 添加 Crashlytics Gradle 插件。
类路径 'com.google.gms:google-services:4.3.5'
类路径 'com.google.firebase:firebase-crashlytics-gradle:2.5.2'
和
// Google Services Gradle plugin
apply plugin: 'com.google.gms.google-services'
// Apply the Crashlytics Gradle plugin
apply plugin: 'com.google.firebase.crashlytics'
- 建一个项目,发现dashboard中app是空的,com_crashlytics_build_id.xml有下一个值:
- 看起来映射文件也没有上传。
- 试图让应用程序崩溃,但在仪表板中仍然看不到任何崩溃。
- 构建 apk 时我没有看到任何错误,项目构建工作正常。 如何启用 Crashlytics?
解决方案
推荐阅读
- neo4j - Mac OS 上的 Neo4j Desktop 更改端口号
- node.js - node dist/server.js 退出且没有错误消息
- node.js - 在 ngModule 导入中找不到模块
- java - HTTP 状态 500 - servlet spring-dispatcher 的 Servlet.init() 抛出异常_(spring-dispatcher-servlet 很好)
- javascript - React - 如何重定向到搜索上的另一个组件?
- expect - 期望脚本捕获垃圾字符 - 需要删除
- hash - 如何有效地测试 puppet 中深度嵌套的数据值以采取行动?
- c++ - C/C++ 位运算没有产生预期的输出?
- unity3d - 如何在wikiitude中跟踪多个对象?
- java - 安装 maven 项目时,出现 DependencyConvergence 错误