【发布时间】:2018-05-20 09:31:32
【问题描述】:
我想同时使用 firebase 和 google play 服务依赖项。但这会引起一些冲突。当我添加播放服务依赖项时,firebase 依赖项不起作用。你知道如何同时使用这两个依赖项吗?谢谢。
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:26.1.0'
implementation 'com.android.support.constraint:constraint-layout:1.0.2'
implementation 'com.android.support:design:26.1.0'
implementation 'com.google.firebase:firebase-core:12.0.1'
implementation 'com.google.firebase:firebase-messaging:12.0.1'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.1'
implementation 'com.google.android.gms:play-services:11.8.0'
【问题讨论】:
标签: android firebase google-play-services