首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >防火墙插件依赖于番石榴jdk-5冲突

防火墙插件依赖于番石榴jdk-5冲突
EN

Stack Overflow用户
提问于 2017-11-24 15:07:16
回答 1查看 180关注 0票数 0

我在app.gradle的第1行得到了编译错误

防火墙插件依赖于番石榴jdk-5

build.gradle

代码语言:javascript
复制
buildscript {
repositories {
    jcenter()
}
dependencies {
    classpath 'com.android.tools.build:gradle:3.0.1'
    classpath 'com.google.gms:google-services:3.1.1'
    // FireBase Crash Reporting
    classpath 'com.google.firebase:firebase-plugins:1.0.4'
    // NOTE: Do not place your application dependencies here; they belong
    // in the individual module build.gradle files
   }
}

app.gradle

代码语言:javascript
复制
apply plugin: 'com.android.application'
apply plugin: 'com.google.firebase.firebase-crash' // FireBase Crash Reporting plugin to uplaod the mapping file
EN

回答 1

Stack Overflow用户

发布于 2017-11-24 15:07:16

只需更新firebase插件就可以解决这个问题:

代码语言:javascript
复制
        classpath 'com.google.firebase:firebase-plugins:1.1.5'

或者将番石榴-jdk5 5排除在插件之外。

代码语言:javascript
复制
classpath ('com.google.firebase:firebase-plugins:1.1.0') {
            exclude group: 'com.google.guava', module: 'guava-jdk5'
}
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/47475936

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档