既存プロジェクトの設定についてFireStoreについて[ANDROID]Firestoreの設定 - Firebase
私はサポート資料に従ってそれを組み込んで設定しようとしましたが、うまくいかずでした。
Gradle-Appに依存関係を追加中にエラーが発生しました。
Firebaseチュートリアルにある依存関係:コンパイル 'com.google.firebase:firebase-firestore:11.0.6'
注:私は10.2.6としてそれを入れてみました、とも試してみましたFireStoreの同じバージョンのすべての依存関係を更新します。何も働かなかった。
現在、Firebaseサービスのバージョン10.2.6があります。
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とリポジトリの更新をチェックします。そして私ものGradleで依存関係がチェック:
クラスパス 'com.google.gms:グーグルのサービス:3.1.0' を
「apply plugin: 'com.google.gms.google-services'が一番下にあることを確認してください –