firebase-android-sdk icon indicating copy to clipboard operation
firebase-android-sdk copied to clipboard

Gradle task dependency issues

Open gaoxu19930112 opened this issue 1 week ago • 4 comments

[REQUIRED] Step 1: Describe your environment

  • Android Studio version: Android Studio Narwhal 3 Feature Drop | 2025.1.3
  • Firebase Component: com.google.firebase:firebase-bom:34.6.0
  • Crashlytics Gradle Plugin version: 3.0.6
  • Gradle version: gradle-8.9-all.zip

[REQUIRED] Step 3: Describe the problem

Steps to reproduce:

When building an Android project and uploading symbol tables using Crashlytics and NDK integration, Gradle build fails. However, this issue is normal in Crashlytics Gradle Plugin version 2.9.9.

Relevant Code:

 ./gradlew app:assemblePRODRelease app:uploadCrashlyticSymbolFilePRODRelease -d | grep "com.google.firebase.crashlytics"

2025-12-08T17:51:37.821+0800 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Apply plugin com.google.firebase.crashlytics to project ':app'' started
2025-12-08T17:51:37.822+0800 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Completing Build operation 'Apply plugin com.google.firebase.crashlytics to project ':app''
2025-12-08T17:51:37.822+0800 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationRunner] Build operation 'Apply plugin com.google.firebase.crashlytics to project ':app'' completed
2025-12-08T17:51:38.154+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension] CrashlyticsVariantExtension for variant: DevDebug
2025-12-08T17:51:38.154+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   mappingFileUploadEnabled: null
2025-12-08T17:51:38.154+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   nativeSymbolUploadEnabled: true
2025-12-08T17:51:38.154+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   unstrippedNativeLibsOverride: /Users/gaoxu/project/iwhalecloud/yak-prod-native-android/app/build/intermediates/merged_native_libs
2025-12-08T17:51:38.154+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   symbolGeneratorType: null
2025-12-08T17:51:38.154+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   breakpadBinary: null
2025-12-08T17:51:38.184+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension] CrashlyticsVariantExtension for variant: TestDebug
2025-12-08T17:51:38.184+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   mappingFileUploadEnabled: null
2025-12-08T17:51:38.184+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   nativeSymbolUploadEnabled: true
2025-12-08T17:51:38.184+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   unstrippedNativeLibsOverride: /Users/gaoxu/project/iwhalecloud/yak-prod-native-android/app/build/intermediates/merged_native_libs
2025-12-08T17:51:38.184+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   symbolGeneratorType: null
2025-12-08T17:51:38.184+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   breakpadBinary: null
2025-12-08T17:51:38.215+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension] CrashlyticsVariantExtension for variant: SIT_DEVDebug
2025-12-08T17:51:38.215+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   mappingFileUploadEnabled: null
2025-12-08T17:51:38.215+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   nativeSymbolUploadEnabled: true
2025-12-08T17:51:38.215+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   unstrippedNativeLibsOverride: /Users/gaoxu/project/iwhalecloud/yak-prod-native-android/app/build/intermediates/merged_native_libs
2025-12-08T17:51:38.215+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   symbolGeneratorType: null
2025-12-08T17:51:38.215+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   breakpadBinary: null
2025-12-08T17:51:38.242+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension] CrashlyticsVariantExtension for variant: UAT_TESTDebug
2025-12-08T17:51:38.242+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   mappingFileUploadEnabled: null
2025-12-08T17:51:38.242+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   nativeSymbolUploadEnabled: true
2025-12-08T17:51:38.242+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   unstrippedNativeLibsOverride: /Users/gaoxu/project/iwhalecloud/yak-prod-native-android/app/build/intermediates/merged_native_libs
2025-12-08T17:51:38.242+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   symbolGeneratorType: null
2025-12-08T17:51:38.242+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   breakpadBinary: null
2025-12-08T17:51:38.272+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension] CrashlyticsVariantExtension for variant: PRODDebug
2025-12-08T17:51:38.272+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   mappingFileUploadEnabled: null
2025-12-08T17:51:38.272+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   nativeSymbolUploadEnabled: true
2025-12-08T17:51:38.272+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   unstrippedNativeLibsOverride: /Users/gaoxu/project/iwhalecloud/yak-prod-native-android/app/build/intermediates/merged_native_libs
2025-12-08T17:51:38.272+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   symbolGeneratorType: null
2025-12-08T17:51:38.272+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   breakpadBinary: null
2025-12-08T17:51:38.302+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension] CrashlyticsVariantExtension for variant: Test_HuaweiDebug
2025-12-08T17:51:38.302+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   mappingFileUploadEnabled: null
2025-12-08T17:51:38.302+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   nativeSymbolUploadEnabled: true
2025-12-08T17:51:38.302+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   unstrippedNativeLibsOverride: /Users/gaoxu/project/iwhalecloud/yak-prod-native-android/app/build/intermediates/merged_native_libs
2025-12-08T17:51:38.302+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   symbolGeneratorType: null
2025-12-08T17:51:38.302+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   breakpadBinary: null
2025-12-08T17:51:38.334+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension] CrashlyticsVariantExtension for variant: SIT_DEV_HuaweiDebug
2025-12-08T17:51:38.335+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   mappingFileUploadEnabled: null
2025-12-08T17:51:38.335+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   nativeSymbolUploadEnabled: true
2025-12-08T17:51:38.335+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   unstrippedNativeLibsOverride: /Users/gaoxu/project/iwhalecloud/yak-prod-native-android/app/build/intermediates/merged_native_libs
2025-12-08T17:51:38.335+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   symbolGeneratorType: null
2025-12-08T17:51:38.335+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   breakpadBinary: null
2025-12-08T17:51:38.366+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension] CrashlyticsVariantExtension for variant: UAT_TEST_HuaweiDebug
2025-12-08T17:51:38.366+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   mappingFileUploadEnabled: null
2025-12-08T17:51:38.366+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   nativeSymbolUploadEnabled: true
2025-12-08T17:51:38.366+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   unstrippedNativeLibsOverride: /Users/gaoxu/project/iwhalecloud/yak-prod-native-android/app/build/intermediates/merged_native_libs
2025-12-08T17:51:38.366+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   symbolGeneratorType: null
2025-12-08T17:51:38.366+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   breakpadBinary: null
2025-12-08T17:51:38.394+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension] CrashlyticsVariantExtension for variant: PROD_HuaweiDebug
2025-12-08T17:51:38.394+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   mappingFileUploadEnabled: null
2025-12-08T17:51:38.394+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   nativeSymbolUploadEnabled: true
2025-12-08T17:51:38.394+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   unstrippedNativeLibsOverride: /Users/gaoxu/project/iwhalecloud/yak-prod-native-android/app/build/intermediates/merged_native_libs
2025-12-08T17:51:38.394+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   symbolGeneratorType: null
2025-12-08T17:51:38.394+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   breakpadBinary: null
2025-12-08T17:51:38.413+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension] CrashlyticsVariantExtension for variant: DevRelease
2025-12-08T17:51:38.413+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   mappingFileUploadEnabled: null
2025-12-08T17:51:38.413+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   nativeSymbolUploadEnabled: true
2025-12-08T17:51:38.414+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   unstrippedNativeLibsOverride: /Users/gaoxu/project/iwhalecloud/yak-prod-native-android/app/build/intermediates/merged_native_libs
2025-12-08T17:51:38.414+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   symbolGeneratorType: null
2025-12-08T17:51:38.414+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   breakpadBinary: null
2025-12-08T17:51:38.438+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension] CrashlyticsVariantExtension for variant: TestRelease
2025-12-08T17:51:38.438+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   mappingFileUploadEnabled: null
2025-12-08T17:51:38.438+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   nativeSymbolUploadEnabled: true
2025-12-08T17:51:38.438+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   unstrippedNativeLibsOverride: /Users/gaoxu/project/iwhalecloud/yak-prod-native-android/app/build/intermediates/merged_native_libs
2025-12-08T17:51:38.438+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   symbolGeneratorType: null
2025-12-08T17:51:38.438+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   breakpadBinary: null
2025-12-08T17:51:38.457+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension] CrashlyticsVariantExtension for variant: SIT_DEVRelease
2025-12-08T17:51:38.457+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   mappingFileUploadEnabled: null
2025-12-08T17:51:38.457+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   nativeSymbolUploadEnabled: true
2025-12-08T17:51:38.457+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   unstrippedNativeLibsOverride: /Users/gaoxu/project/iwhalecloud/yak-prod-native-android/app/build/intermediates/merged_native_libs
2025-12-08T17:51:38.457+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   symbolGeneratorType: null
2025-12-08T17:51:38.457+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   breakpadBinary: null
2025-12-08T17:51:38.477+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension] CrashlyticsVariantExtension for variant: UAT_TESTRelease
2025-12-08T17:51:38.477+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   mappingFileUploadEnabled: null
2025-12-08T17:51:38.477+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   nativeSymbolUploadEnabled: true
2025-12-08T17:51:38.477+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   unstrippedNativeLibsOverride: /Users/gaoxu/project/iwhalecloud/yak-prod-native-android/app/build/intermediates/merged_native_libs
2025-12-08T17:51:38.477+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   symbolGeneratorType: null
2025-12-08T17:51:38.477+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   breakpadBinary: null
2025-12-08T17:51:38.498+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension] CrashlyticsVariantExtension for variant: PRODRelease
2025-12-08T17:51:38.498+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   mappingFileUploadEnabled: null
2025-12-08T17:51:38.498+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   nativeSymbolUploadEnabled: true
2025-12-08T17:51:38.498+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   unstrippedNativeLibsOverride: /Users/gaoxu/project/iwhalecloud/yak-prod-native-android/app/build/intermediates/merged_native_libs
2025-12-08T17:51:38.498+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   symbolGeneratorType: null
2025-12-08T17:51:38.498+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   breakpadBinary: null
2025-12-08T17:51:38.518+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension] CrashlyticsVariantExtension for variant: Test_HuaweiRelease
2025-12-08T17:51:38.518+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   mappingFileUploadEnabled: null
2025-12-08T17:51:38.518+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   nativeSymbolUploadEnabled: true
2025-12-08T17:51:38.518+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   unstrippedNativeLibsOverride: /Users/gaoxu/project/iwhalecloud/yak-prod-native-android/app/build/intermediates/merged_native_libs
2025-12-08T17:51:38.518+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   symbolGeneratorType: null
2025-12-08T17:51:38.518+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   breakpadBinary: null
2025-12-08T17:51:38.537+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension] CrashlyticsVariantExtension for variant: SIT_DEV_HuaweiRelease
2025-12-08T17:51:38.537+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   mappingFileUploadEnabled: null
2025-12-08T17:51:38.537+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   nativeSymbolUploadEnabled: true
2025-12-08T17:51:38.538+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   unstrippedNativeLibsOverride: /Users/gaoxu/project/iwhalecloud/yak-prod-native-android/app/build/intermediates/merged_native_libs
2025-12-08T17:51:38.538+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   symbolGeneratorType: null
2025-12-08T17:51:38.538+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   breakpadBinary: null
2025-12-08T17:51:38.557+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension] CrashlyticsVariantExtension for variant: UAT_TEST_HuaweiRelease
2025-12-08T17:51:38.557+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   mappingFileUploadEnabled: null
2025-12-08T17:51:38.557+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   nativeSymbolUploadEnabled: true
2025-12-08T17:51:38.557+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   unstrippedNativeLibsOverride: /Users/gaoxu/project/iwhalecloud/yak-prod-native-android/app/build/intermediates/merged_native_libs
2025-12-08T17:51:38.557+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   symbolGeneratorType: null
2025-12-08T17:51:38.557+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   breakpadBinary: null
2025-12-08T17:51:38.576+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension] CrashlyticsVariantExtension for variant: PROD_HuaweiRelease
2025-12-08T17:51:38.576+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   mappingFileUploadEnabled: null
2025-12-08T17:51:38.576+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   nativeSymbolUploadEnabled: true
2025-12-08T17:51:38.576+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   unstrippedNativeLibsOverride: /Users/gaoxu/project/iwhalecloud/yak-prod-native-android/app/build/intermediates/merged_native_libs
2025-12-08T17:51:38.576+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   symbolGeneratorType: null
2025-12-08T17:51:38.576+0800 [DEBUG] [com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsVariantExtension]   breakpadBinary: null
2025-12-08T17:52:40.014+0800 [DEBUG] [org.gradle.internal.execution.steps.AbstractCaptureStateBeforeExecutionStep] Implementation for task ':app:injectCrashlyticsBuildIdsPRODRelease': com.google.firebase.crashlytics.buildtools.gradle.tasks.InjectBuildIdsTask_Decorated@590fc649958b78e01c1449069e2aa1a3
2025-12-08T17:52:40.014+0800 [DEBUG] [org.gradle.internal.execution.steps.AbstractCaptureStateBeforeExecutionStep] Additional implementations for task ':app:injectCrashlyticsBuildIdsPRODRelease': [com.google.firebase.crashlytics.buildtools.gradle.tasks.InjectBuildIdsTask_Decorated@590fc649958b78e01c1449069e2aa1a3]
2025-12-08T17:52:40.026+0800 [DEBUG] [org.gradle.internal.execution.steps.AbstractCaptureStateBeforeExecutionStep] Implementation for task ':app:injectCrashlyticsMappingFileIdPRODRelease': com.google.firebase.crashlytics.buildtools.gradle.tasks.InjectMappingFileIdTask_Decorated@590fc649958b78e01c1449069e2aa1a3
2025-12-08T17:52:40.026+0800 [DEBUG] [org.gradle.internal.execution.steps.AbstractCaptureStateBeforeExecutionStep] Additional implementations for task ':app:injectCrashlyticsMappingFileIdPRODRelease': [com.google.firebase.crashlytics.buildtools.gradle.tasks.InjectMappingFileIdTask_Decorated@590fc649958b78e01c1449069e2aa1a3]
2025-12-08T17:52:40.037+0800 [DEBUG] [org.gradle.internal.execution.steps.AbstractCaptureStateBeforeExecutionStep] Implementation for task ':app:injectCrashlyticsVersionControlInfoPRODRelease': com.google.firebase.crashlytics.buildtools.gradle.tasks.InjectVersionControlInfoTask_Decorated@590fc649958b78e01c1449069e2aa1a3
2025-12-08T17:52:40.037+0800 [DEBUG] [org.gradle.internal.execution.steps.AbstractCaptureStateBeforeExecutionStep] Additional implementations for task ':app:injectCrashlyticsVersionControlInfoPRODRelease': [com.google.firebase.crashlytics.buildtools.gradle.tasks.InjectVersionControlInfoTask_Decorated@590fc649958b78e01c1449069e2aa1a3]
2025-12-08T17:52:43.047+0800 [DEBUG] [com.android.build.gradle.internal.services.SymbolTableBuildService] SymbolTableBuildService: cache miss - loaded table 'com.google.firebase.crashlytics.ndk' from disk
2025-12-08T17:52:43.047+0800 [DEBUG] [com.android.build.gradle.internal.services.SymbolTableBuildService] SymbolTableBuildService: cache miss - loaded table 'com.google.firebase.crashlytics' from disk
2025-12-08T17:52:44.862+0800 [DEBUG] [org.gradle.internal.execution.steps.AbstractCaptureStateBeforeExecutionStep] Implementation for task ':app:generateCrashlyticsSymbolFilePRODRelease': com.google.firebase.crashlytics.buildtools.gradle.tasks.GenerateSymbolFileTask_Decorated@590fc649958b78e01c1449069e2aa1a3
2025-12-08T17:52:44.862+0800 [DEBUG] [org.gradle.internal.execution.steps.AbstractCaptureStateBeforeExecutionStep] Additional implementations for task ':app:generateCrashlyticsSymbolFilePRODRelease': [com.google.firebase.crashlytics.buildtools.gradle.tasks.GenerateSymbolFileTask_Decorated@590fc649958b78e01c1449069e2aa1a3]
2025-12-08T17:52:45.112+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
2025-12-08T17:52:45.112+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
2025-12-08T17:52:45.112+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
2025-12-08T17:52:45.112+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
2025-12-08T17:52:45.112+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] A problem was found with the configuration of task ':app:generateCrashlyticsSymbolFilePRODRelease' (type 'GenerateSymbolFileTask').
2025-12-08T17:52:45.112+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]   - Gradle detected a problem with the following location: '/Users/gaoxu/project/iwhalecloud/yak-prod-native-android/app/build/intermediates/merged_native_libs'.
2025-12-08T17:52:45.112+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]     
2025-12-08T17:52:45.112+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]     Reason: Task ':app:generateCrashlyticsSymbolFilePRODRelease' uses this output of task ':app:mergePRODReleaseNativeLibs' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
2025-12-08T17:52:45.112+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]     
2025-12-08T17:52:45.112+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]     Possible solutions:
2025-12-08T17:52:45.112+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]       1. Declare task ':app:mergePRODReleaseNativeLibs' as an input of ':app:generateCrashlyticsSymbolFilePRODRelease'.
2025-12-08T17:52:45.112+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]       2. Declare an explicit dependency on ':app:mergePRODReleaseNativeLibs' from ':app:generateCrashlyticsSymbolFilePRODRelease' using Task#dependsOn.
2025-12-08T17:52:45.112+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]       3. Declare an explicit dependency on ':app:mergePRODReleaseNativeLibs' from ':app:generateCrashlyticsSymbolFilePRODRelease' using Task#mustRunAfter.
2025-12-08T17:52:45.112+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]     
2025-12-08T17:52:45.112+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]     For more information, please refer to https://docs.gradle.org/8.9/userguide/validation_problems.html#implicit_dependency in the Gradle documentation.
2025-12-08T17:52:45.112+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] 
2025-12-08T17:52:45.112+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
2025-12-08T17:52:45.112+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Run with --stacktrace option to get the stack trace.
2025-12-08T17:52:45.112+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Run with --scan to get full insights.
2025-12-08T17:52:45.112+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Get more help at https://help.gradle.org.
2025-12-08T17:52:45.113+0800 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger] 
2025-12-08T17:52:45.113+0800 [ERROR] [org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED in 1m 8s

gaoxu19930112 avatar Dec 08 '25 10:12 gaoxu19930112

I found a few problems with this issue:

  • I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
  • This issue does not seem to follow the issue template. Make sure you provide all the required information.

google-oss-bot avatar Dec 08 '25 10:12 google-oss-bot

Hi @gaoxu19930112, thank you for raising the issue. I tried reproducing the issue, however, I did not encounter the error. I used the buildType configuration you shared in #7582.

Have you tried to Clean and Invalidate Caches, if that would help resolving the issue?

lehcar09 avatar Dec 08 '25 16:12 lehcar09

Hi @gaoxu19930112, thank you for raising the issue. I tried reproducing the issue, however, I did not encounter the error. I used the buildType configuration you shared in #7582.

Have you tried to Clean and Invalidate Caches, if that would help resolving the issue?

I tried clearing the cache, but the problem persisted.

The problem was resolved after I added the following configuration.

afterEvaluate {
    tasks.withType(com.google.firebase.crashlytics.buildtools.gradle.tasks.GenerateSymbolFileTask).configureEach {
        def variant = name.replace("generateCrashlyticsSymbolFile", "")
        dependsOn("merge${variant}NativeLibs")
    }
}

gaoxu19930112 avatar Dec 09 '25 03:12 gaoxu19930112

@gaoxu19930112 are you manually setting unstrippedNativeLibsDir in your Gradle build file?

If so, try removing that line. It defaults to using SingleArtifact.MERGED_NATIVE_LIBS from the Android Gradle plugin, which automatically handles the task dependencies for you.

If you must manually set it (e.g. to a specific build output path), Gradle loses the connection to the task that creates those files. In that case, it makes sense you will need to explicitly add a dependsOn for the task that generates those libs.

mrober avatar Dec 09 '25 13:12 mrober

Hey @gaoxu19930112. We need more information to resolve this issue but there hasn't been an update in 5 weekdays. I'm marking the issue as stale and if there are no new updates in the next 5 days I will close it automatically.

If you have more information that will help us get to the bottom of this, just add a comment!

google-oss-bot avatar Dec 15 '25 18:12 google-oss-bot