I am trying to update fabric to Firebase crashlytics .
I followed their starting guide given here
The error I am getting are below:
I am using Gradle version: 4.6 distributionUrl=https://services.gradle.org/distributions/gradle-4.6-all.zip
Let me know if needed more info.
OK, Updated Android studio to the latest stable - 4.1
Updated Kotlin to the latest version - 1.14.10
Here's my build gradle file:
buildscript {
ext.kotlin_version = '1.4.10'
repositories {
google()
jcenter()
}
dependencies {
classpath "com.android.tools.build:gradle:4.1.0"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
classpath 'com.google.gms:google-services:4.3.4'
classpath 'com.google.firebase:firebase-crashlytics-gradle:2.3.0'
}
}
Also, gradle version should be 6.5
in gradle-wrapper.proporties
file
distributionUrl=https\://services.gradle.org/distributions/gradle-6.5-bin.zip
It's all working now.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.