关于FireStore在现有项目中的配置。 [ANDROID]Firestore配置 - Firebase
我试图根据支持材料包含和配置它,但它不工作。
在Gradle-App中添加依赖关系时出错。
依赖是在火力地堡教程:编译“com.google.firebase:火力点,公司的FireStore:11.0.6”
注:我试图把它作为10.2.6,并且还试图更新相同版本的FireStore的所有依赖关系。没有工作。
我目前拥有版本10.2.6的Firebase服务。
compile 'com.google.firebase:firebase-auth:10.2.6'
compile 'com.google.android.gms:play-services-auth:10.2.6'
compile 'com.google.android.gms:play-services:10.2.6'
compile 'com.google.firebase:firebase-database:10.2.6'
compile 'com.google.firebase:firebase-storage:10.2.6'
compile 'com.google.firebase:firebase-core:10.2.6'
错误:
Error:Execution failed for task ':app:processDebugGoogleServices'.
> Please fix the version conflict either by updating the version of the google-services plugin (information about the latest version is available at https://bintray.com/android/android-tools/com.google.gms.google-services/) or updating the version of com.google.android.gms to 10.2.6.
注:
我检查了PlayService和库更新。而且我还检查了在摇篮的依赖关系:
类路径 'com.google.gms:谷歌服务:3.1.0'
并确保'apply plugin:'com.google.gms.google-services'位于底部 –