【发布时间】:2023-04-10 11:13:02
【问题描述】:
我正在尝试最近发布的功能,该功能允许使用 gradle 任务将 ProGuard 映射文件上传到 Firebase (https://firebase.google.com/docs/crash/android)。以下是我正在运行的任务。
./gradlew -PFirebaseServiceAccountFilePath=xxxxx.json :app:firebaseUploadReleaseProguardMapping
但是,它似乎无法识别服务帐户文件。有没有人有运气让这个工作?我也尝试在 gradle.properties 中定义FirebaseServiceAccountFilePath。
* What went wrong:
Execution failed for task ':app:firebaseUploadReleaseProguardMapping'.
> Service account file path has not been defined! Service accounts are used to authorize your mapping file uploads. Learn more at
https://firebase.google.com/docs/crash/android.
【问题讨论】:
标签: android firebase firebase-crash-reporting