0

I was following the Firebase doc which told me to put this line

apply plugin: 'com.google.gms.google-services'

It told to put this below

apply plugin: 'com.android.application'

but I don't have any line like this, all I have is this:-

plugins {
    id 'com.android.application'
}

Where should I put the above line? (Also see that, I am new to programming so please explain whatever solution you give :)

Thank you

Iron Man
  • 3
  • 2

1 Answers1

1

Try doing it like this:

 plugins {
      id 'com.android.application'
      id 'com.google.gms.google-services'
 }

Actually, both ways roughly do the same thing.

Sujal Kumar
  • 1,054
  • 10
  • 23
  • You can refer to this for further explanation: https://stackoverflow.com/questions/32352816/what-the-difference-in-applying-gradle-plugin – Sujal Kumar Jan 20 '22 at 04:01