1

I am trying to implement other library in my project. When I am implementing any library getting like 'Unable to resolve dependency for ':app@debug/compileClasspath': Could not resolve com.google.firebase:firebase-firestore:24.0.1.. I have checked many solution but did'nt worked. I am using gradle version

repositories {
        google()
        jcenter()
        maven { url "https://www.jitpack.io" }
        mavenCentral()
        maven { url "https://oss.sonatype.org/content/repositories/snapshots/" }
    }

    dependencies {
        classpath 'com.android.tools.build:gradle:7.1.2'
        classpath 'com.google.gms:google-services:4.3.10'
        classpath 'com.google.firebase:firebase-crashlytics-gradle:2.8.1'
        classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.10"
    }

I am using sdk version 31.I have tried many solution but did'nt worked.

Can anyone help me on this. Thanks in advance.

Taufik
  • 505
  • 4
  • 16

0 Answers0