1
Referent to configuration Firestore on existing projects. [ANDROID]
I tried to include and configure according to the supporting material and not the right one.
Error when adding dependencies in Gradle-App.
Dependency on Firebase material. 'com.google.firebase:firebase-firestore:11.0.6'
Obs: I tried to set it to 10.2.6, and also tried to update all the dependencies to the same version of Firestore. Nothing worked.
I currently have versions 10.2.6 of Firebase services.
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:
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.
Obs:
I checked the Playservice and Repository updates. I also checked the Gradle dependencies:
classpath 'com.google.gms:google-services:3.1.0'
So Tiago, if you update one you will have to update all dependencies related to Google Services
– Dev
I tried, and gives the same error. All of those that have 10.2.6 I put to 11.0.6, and gives the same error. In Firebase you describe that you have versions 10.2.6, not even 11.0.6. Then I don’t know what it can be. @Matheus
– TiagoIB
So, you will have to and do a wide search in your project, there was a time I was in the same problem and broke my head to fix, but it was because of an external SDK that had a different version for which I wanted to update.
– Dev
Yes. I have already migrated a few times. And it never gave problem and yes it is necessary to change all dependencies. The problem is specifically in Firestore. I tried again and renamed them all to the same version gave the following: Error: Failed to resolve: com.google.firebase:firebase-firestore:10.2.6. @Matheus
– TiagoIB
I was doing it wrong!! I changed everything again and it worked!! Thanks!!! @Matheus
– TiagoIB
Did it work? That’s great =)
– Dev