From 37a9db3351f1c4befb8d97f102b39be5b1aa181d Mon Sep 17 00:00:00 2001 From: ZQY <22442525+ryuunoakaihitomi@users.noreply.github.com> Date: Mon, 22 Aug 2022 14:36:39 +0800 Subject: [PATCH] R3.16.0.1 Quick Fix The Crashlytics build ID is missing. This occurs when Crashlytics tooling is absent from your app's build configuration. Please review Crashlytics onboarding instructions and ensure you have a valid Crashlytics account. --- app/build.gradle | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 901da9b..43c0aac 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -21,10 +21,10 @@ android { //targetSdkVersion compileSdkVersion targetSdkVersion 33 // 版本号:发布日期 - versionCode 20220822 + versionCode 20220823 // 版本名说明: R3.x.y.z (R3:Refactoring 第三次重构,z:Quick Fix序号) // 不要包含非ASCII可打印字符,会导致Github release文件名异常 - versionName 'R3.16' + versionName 'R3.16.0.1' resConfigs "en", "zh-rCN" buildConfigField 'String', 'BUILD_TIME', '\"' + new Date() + '\"' @@ -279,6 +279,10 @@ andResGuard { "R.string.google_api_key", "R.string.google_storage_bucket", "R.string.com.crashlytics.android.build_id", + // 新增:以后在resources.arsc看到像API key的项目都要加进去 + "R.string.com.google.firebase.crashlytics.mapping_file_id", + "R.string.google_crash_reporting_api_key", + "R.string.default_web_client_id", // 使用资源入口名记录事件:getResourceEntryName() 'R.string.func_*', ]