No signature of method: com.crashlytics.tools.gradle.CrashlyticsPlugin On Mac [closed]
Asked Answered
M

3

12

Below error while gradle sync Failed in Mac.

CONFIGURE FAILED in 3s
ERROR: No signature of method: com.crashlytics.tools.gradle.CrashlyticsPlugin.findObfuscationTransformTask() is applicable for argument types: (java.lang.String) values: [Debug]

Project works fine in Windows

Mateusz answered 16/3, 2019 at 8:1 Comment(1)
Please see my answer with explanation in #55215493Volga
C
51

There seems to be a problem with the version "1.28.0" of "io.fabric.tools:gradle".

I corresponded as follows

classpath 'io.fabric.tools:gradle:1.+'

Change to the following code

classpath 'io.fabric.tools:gradle:1.27.1'

I hope the fabric team will respond

Cacodyl answered 16/3, 2019 at 10:42 Comment(1)
I added these changes to android/app/build.gradleComplicate
G
31

Its problem with fabric tools that added in build.gradle app level

To solve this issue

go to build.gradle app level and find the below code

change this

 dependencies {
        classpath 'io.fabric.tools:gradle:1.+'
    }

to this

dependencies {
    classpath 'io.fabric.tools:gradle:1.27.1'
}

try with other versions like 1.28 if above version not working. avoid using + in version codes and also that stops the auto update.

Geary answered 17/3, 2019 at 11:19 Comment(4)
@rajesh vinnew. Can you tell me why its was working earlier, but suddenly it stopped any official links.Laveralavergne
These much upvotes on this same answer proves that developers are too lazyAugite
you made my dayDenim
Excellent! This answer resolved my Android build issue.Eiser
C
7

In my case, the Gradle Build Task was failing with the latest version(1.28.0) of Fabric Gradle Plugin. Downgrading to version 1.27.1 resolved this issue. There has been a Fabric Gradle Plugin release recently on 15th March 2019.

For users facing this issue and have added the Fabric Gradle Plugin as

dependencies {
        classpath 'io.fabric.tools:gradle:1.+'
        ...

}

need to replace with

dependencies {
        classpath 'io.fabric.tools:gradle:1.27.1'
        ...

}
Cacka answered 18/3, 2019 at 8:56 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.