找不到firebase:crash-plugin:1.1.0 [英] Cannot find the firebase:crash-plugin:1.1.0

查看:182
本文介绍了找不到firebase:crash-plugin:1.1.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在尝试添加firebase性能依赖项,我跟着
开始使用Firebase Performance Monitoring for Android
指南



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



但是我收到以下错误,找不到 com.google.firebase:firebase-plugins:1.1.0 依赖项。 / p>

另外,我还安装了Google Play服务(40)和Google存储库(51)的最新版本。



这是我的顶层 build.gradle 文件:

  //顶层构建文件,您可以在其中添加所有子项目/模块通用的配置选项。 

uildscript {
repositories {
jcenter()
}
依赖关系{
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'

//注意:不要在这里放置应用程序依赖关系;它们属于单个模块build.gradle文件中的
//
}
}

allprojects {
repositories {
jcenter()
maven {urlhttps://jitpack.io}


}

}

任务清理(类型:删除){
delete rootProject.buildDir
}

这是错误消息:

 错误:无法找到com.google.firebase:crash-plugin:1.1.0。在以下位置搜索:
file:/ Applications / Android Studio.app/Contents/gradle/m2repository/com/google/firebase/crash-plugin/1.1.0/crash-plugin-1.1.0.pom
档案:/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要求:project:> com.google.firebase:firebase-plugins:1.1.0


解决方案

<不幸的是,这个插件还没有被bintray批准。



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


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!

这篇关于找不到firebase:crash-plugin:1.1.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆