Skip to content

firebase-crashlytics-gradle:2.9.5 not working #4912

@ber4444

Description

@ber4444

[READ] Step 1: Are you in the right place?

Yes

[REQUIRED] Step 2: Describe your environment

  • Android Studio version: Giraffe
  • Firebase Component: Crashlytics plugin
  • Component version: 2.9.5

[REQUIRED] Step 3: Describe the problem

Steps to reproduce:

Build fails, current workaround is to downgrade to as far back as 2.9.2 due to separate bugs in previous versions

Relevant Code:

 % ./gradlew clean testProdReleaseUnitTest
...
FAILURE: Build failed with an exception.

* What went wrong:
Could not determine the dependencies of task ':app:mapProdReleaseSourceSetPaths'.
> Could not determine the dependencies of null.
   > Could not create task ':app:injectCrashlyticsBuildIdsProdRelease'.
      > Cannot invoke method map() on null object

usage of the plugin:

import com.google.firebase.crashlytics.buildtools.gradle.CrashlyticsExtension
plugins {
    id("com.google.firebase.crashlytics")
}
android {
    buildTypes {
        release {
            the<CrashlyticsExtension>().nativeSymbolUploadEnabled = true
            the<CrashlyticsExtension>().unstrippedNativeLibsDir = file("$rootDir/app/build/intermediates/merged_native_libs/debug/out/lib/armeabi-v7a/")
        }
    }
....

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions