Crashlytics Error:(11, 0) Plugin with id 'io.fabric' not found compile lib

前端 未结 6 1230
野的像风
野的像风 2020-12-28 17:36

I am getting the error,

Error:(11, 0) Plugin with id \'io.fabric\' not found

when trying to run crashlytics on my project.

6条回答
  •  被撕碎了的回忆
    2020-12-28 18:08

    I think you lost "google()" in repositories of buildscript.

    buildscript {
        repositories {
            jcenter()
            google()
            maven { url 'https://maven.fabric.io/public' }
        }
        dependencies {
            classpath 'com.android.tools.build:gradle:1.2.3'
            classpath 'io.fabric.tools:gradle:1.+'
        }
    }
    
    allprojects {
        repositories {
            jcenter()
        }
    }
    

提交回复
热议问题