且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

找不到firebase:crash-plugin:1.1.0

更新时间:2023-11-16 15:52:10



现在已经被批准了,所以如果再试一次就应该可以使用了!


I have been trying to add the firebase performance dependency, I followed Get Started with Firebase Performance Monitoring for Android guide

I have added in the top gradle file the classpath 'com.google.firebase:firebase-plugins:1.1.0' and the jcenter() repository.

But I am getting the following error that the com.google.firebase:firebase-plugins:1.1.0 dependency cannot be found.

Also I have the latest version of the google play services(40) and the google repository(51) installed.

Here is my top build.gradle file:

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
  repositories {
    jcenter()
  }
  dependencies {
    classpath 'com.android.tools.build:gradle:2.3.2'
    classpath 'com.google.gms:google-services:3.0.0'
    classpath 'com.google.firebase:firebase-plugins:1.1.0'

    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
  }
}

allprojects {
  repositories {
    jcenter()
    maven { url "https://jitpack.io" }


  }

}

task clean(type: Delete) {
  delete rootProject.buildDir
}

Here is the error message:

Error:Could not find com.google.firebase:crash-plugin:1.1.0. Searched in the following locations:
    file:/Applications/Android Studio.app/Contents/gradle/m2repository/com/google/firebase/crash-plugin/1.1.0/crash-plugin-1.1.0.pom 
    file:/Applications/AndroidStudio.app/Contents/gradle/m2repository/com/google/firebase/crash-plugin/1.1.0/crash-plugin-1.1.0.jar 
    https://jcenter.bintray.com/com/google/firebase/crash-plugin/1.1.0/crash-plugin-1.1.0.pom
    https://jcenter.bintray.com/com/google/firebase/crash-plugin/1.1.0/crash-plugin-1.1.0.jar Required by: project : > com.google.firebase:firebase-plugins:1.1.0

Unfortunately the plugin was not yet approved on bintray.

It has now been approved, so if you try again it should work!