【发布时间】:2018-07-31 14:31:32
【问题描述】:
将谷歌库版本从 9.6.0 更新到 11.8.0 时 它产生了这么多问题,我无法编译代码。
请看下面的模块 Gradle 文件依赖
compile 'com.android.support:appcompat-v7:26.0.2'
compile 'com.android.support:support-v4:27.0.1'
compile 'com.android.support:support-v13:27.0.1'
compile 'com.android.support:design:27.0.1'
compile 'com.android.support:cardview-v7:27.0.1'
compile 'com.android.support:recyclerview-v7:27.0.1'
compile 'com.android.support:customtabs:27.0.1'
//noinspection GradleCompatible
compile 'com.google.android.gms:play-services-analytics:11.8.0'
compile 'com.google.android.gms:play-services-maps:11.8.0'
compile 'com.google.android.gms:play-services-location:11.8.0'
compile 'com.google.firebase:firebase-crash:11.0.4'
compile 'com.google.firebase:firebase-messaging:11.0.4'
compile 'com.google.firebase:firebase-core:11.0.4'
以下是项目的gradle依赖
dependencies {
// classpath 'com.android.tools.build:gradle:2.0.0-rc1'
// classpath 'com.google.firebase:firebase-plugins:1.1.1'
classpath 'com.google.firebase:firebase-plugins:1.1.5'
classpath 'com.android.tools.build:gradle:3.1.0-alpha06'
classpath 'com.google.gms:google-services:3.1.0'
classpath "io.realm:realm-gradle-plugin:3.0.0"
}
【问题讨论】:
标签: android firebase google-play-services android-support-library