Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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

like image 815
Umesh Suryawanshi Avatar asked Mar 16 '19 08:03

Umesh Suryawanshi


3 Answers

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

like image 86
TAKUYA KONDO Avatar answered Oct 20 '22 07:10

TAKUYA KONDO


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.

like image 31
Rajesh Wolf Avatar answered Oct 20 '22 07:10

Rajesh Wolf


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'
        ...

}
like image 7
Ankit Avatar answered Oct 20 '22 06:10

Ankit