1

I am new in Android App Development. I am trying to connect to firebase. I noticed that my project gradle file does not contain dependencies block and when I am trying to insert in manually I get errors. Can someone explain why my gradle files does not contain dependency block

My Gradle

Error

Thales Isidoro
  • 1,753
  • 1
  • 5
  • 19
  • You can add the `buildscript` block with the `dependencies` inside it, at the top of your `build.gradle`. Then just add the `classpath` you need. See an example [here](https://stackoverflow.com/a/72534564/18943404). – Thales Isidoro Aug 02 '22 at 18:59
  • I think that this [answer](https://stackoverflow.com/questions/70883309/android-studios-project-gradle-file-changed) will help. – Alex Mamo Aug 03 '22 at 06:51

0 Answers0