I\'m developing android app using Firebase GMS service.
I tried to follow their tutorials, i made project as they said, downloaded the json files.
But when I
Anyone having this issue, I have solved it this way: Android Studio - 3.4.2
Fix all the warning in the "Build" window. Change compile to "implementation" and "testImplementation", "androidTestImplementation"etc
Remove this line app build.gradle: apply plugin: 'io.fabric'
Well, you need to remove error and warning from build.gradle.
which you can easily find at: Build Tab(at bottom)->Sync Tab-> Here you can find the issue
I suspect that the gzips in your project might be the culprits. Search it up within your project folder and delete them, let gradle re-sync it for you.
Possible alternative solutions: https://github.com/socketio/engine.io-client-java/issues/13 https://github.com/ACRA/acra/issues/159
Well, you need to resolve all the gradle build issues. Go to the gradle console (usually located in the bottom right of the IDE) and check for them errors/warnings. Once your build succeeds without errors the connection to firebase should work.
I had the same problem! When I used Android Studio Firebase assistant and clicked 'Connect to Firebase' button, I had the same issue. The solution is simple: forget the assistant (obviously, there is some bug in it), just follow the instruction of manually integrating the Firebase project into your Android Studio project (create the project in the Firebase console, download the json file and put it inside the 'app' folder etc.) Don't forget to make sure all the Firebase dependencies are of the same version (e.g. 11.8.0). It worked for me.
Make sure that your app/build.gradle doesn't have obsolete dependencies and declaration. Mine the problem was with using
dataBinding {
enabled = true
}
instead of
buildFeatures{
dataBinding = true
}