zak devloper
zak devloper

Reputation: 11

my android app doesn't run on android studio after trying to activate the firebase

I have completed the coding of my app, and when I tried to configure the firebase for my app by editing the two build.gradle files and updating the android studio to the last version, the editor showed me this error after trying to synchronize my project :

Gradle sync failed: Could not find com.google.code.gson:gson:2.8.5.

the image of error message

Upvotes: 1

Views: 168

Answers (1)

Ahmed Heasat
Ahmed Heasat

Reputation: 256

Try to add this to your dependencies:

implementation 'com.android.support:multidex:1.0.1'
implementation 'com.google.code.gson:gson:2.8.0'

And in project gradle:

classpath 'com.google.gms:google-services:4.2.0'

Upvotes: 1

Related Questions