找不到firebase:crash-plugin:1.1.0

时间:2017-05-17 21:22:30

标签: android firebase firebase-performance

我一直在尝试添加firebase性能依赖,我跟着 Get Started with Firebase Performance Monitoring for Android guide

我在顶级gradle文件中添加了classpath 'com.google.firebase:firebase-plugins:1.1.0'jcenter()存储库。

但是我收到以下错误,即无法找到com.google.firebase:firebase-plugins:1.1.0依赖项。

此外,我还安装了最新版本的google play服务(40)和google存储库(51)。

这是我的热门build.gradle文件:

// 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
}

以下是错误消息:

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

1 个答案:

答案 0 :(得分:3)

不幸的是,该插件尚未在bintray上获得批准。

它现在已被批准,所以如果你再试一次它应该可以工作!