This is the error I am seeing.
Could not find method create() for arguments [crashlyticsStoreDeobsRelease, class com.crashlytics.tools.gradle.tasks.StoreMappingFileTask, com.android.build.gradle.internal.scope.BuildArtifactsHolder$FinalBuildableArtifact@1711854a] on task set of type org.gradle.api.internal.tasks.DefaultTaskContainer.
Old versions of your app still using the Fabric Crashlytics SDK will not break once it's deprecated, however they will no longer submit crash reports. But it seems like it will just continue to work as per normal after this date until further notice.
Firebase Crashlytics is a lightweight, realtime crash reporter that helps you track, prioritize, and fix stability issues that erode your app quality. Crashlytics saves you troubleshooting time by intelligently grouping crashes and highlighting the circumstances that lead up to them.
Its name is Fabric and it provides a set of crash reporting and mobile analytics tools for mobile applications. One of the tools that Fabric offers, is Crashlytics. Crashlytics is a crash reporting service, that can track your Android application crashes and lots of statistical information and analytics.
For me this happened after upgrading to Android Studio 3.2 which come along with Gradle 4.6. So i switched back from
classpath 'io.fabric.tools:gradle:1.26.0'
to
classpath 'io.fabric.tools:gradle:1.25.4'
for the moment.
The cause of the issue seems incompatibility Fabric version with latest version of Gradle.The below works for me. Don't upgrade your Gradle version, Stick with your previous version and Sync the project once.
My Android Studio Version is 3.2
project.gradle
dependencies {
classpath 'com.android.tools.build:gradle:3.1.4'
}
build.gradle
buildscript {
repositories {
maven { url 'https://maven.fabric.io/public' }
}
dependencies {
classpath 'io.fabric.tools:gradle:1.26.0'
}
}
apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
repositories {
maven { url 'https://maven.fabric.io/public' }
}
Try replacing the line io.fabric.tools:gradle:1.+
by the latest stable Fabric version which is 1.25.4. at the moment: io.fabric.tools:gradle:1.25.4
I had problem when I updated my Android studio from 3.1.4 to 3.2.
The way I got the solution. I changed in the Build.gradle (app).
from
dependencies {
classpath 'io.fabric.tools:gradle:1.+'
}
to
dependencies {
classpath 'io.fabric.tools:gradle:1.25.4'
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With