Cannot find the firebase:crash-plugin:1.1.0

家住魔仙堡 提交于 2019-12-24 02:59:08

问题


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

回答1:


Unfortunately the plugin was not yet approved on bintray.

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



来源:https://stackoverflow.com/questions/44034999/cannot-find-the-firebasecrash-plugin1-1-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!