【问题标题】:Cannot find the firebase:crash-plugin:1.1.0找不到 firebase:crash-plugin:1.1.0
【发布时间】:2017-10-17 12:21:43
【问题描述】:

我一直在尝试添加 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 services(40) 和 google repository(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

【问题讨论】:

  • 现在试试,插件应该已经上线了。
  • 是的,它已经上线了,谢谢!

标签: android firebase firebase-performance


【解决方案1】:

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

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

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2019-04-04
    • 2015-04-21
    • 1970-01-01
    • 1970-01-01
    • 2021-07-05
    • 2012-05-24
    • 2012-07-22
    • 1970-01-01
    相关资源
    最近更新 更多