android - 找不到 firebase :crash-plugin:1. 1.0

标签 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 依赖项。

我还安装了最新版本的谷歌播放服务(40)和谷歌存储库(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

最佳答案

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

现已获得批准,因此,如果您再试一次,应该可以正常工作!

关于android - 找不到 firebase :crash-plugin:1. 1.0,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44034999/

相关文章:

firebase - Flutter Firebase 性能 - 未处理的异常

android - 我应该如何为 Android 应用程序制作服务器端软件?

android - 将 ProGuard 映射文件上传到 Firebase

node.js - Cloud Firestore node.js 使用类型 "object"作为 Firestore 参数无效

javascript - firebase 授权和订阅仅插入事件

ios - Firebase Performance 在第一次调用 NSURLSession 时导致应用程序崩溃

android - Firebase-perf 与 let 插件冲突

android - 无法触摸 onPostExecute 的 AsyncTask 中的 View

java - 从 SOAP 网络服务获得的响应为零

android - LocationManager 最佳实现?