Firebase adding problem in my android studio

plugins

(namita rathore) #1

hey, there I am trying to put firebase services in my app using android studio I almost do the same as directed by firebase but still I am getting the errors and my project is not synchronizing. please help
details given below
4:36:47 AM: Executing external task ‘signingReport’…
Configuration on demand is an incubating feature.

FAILURE: Build failed with an exception.

  • Where:
    Build file ‘C:\Users\Saket Sahu\Desktop\LearningJuction apk\app\build.gradle’ line: 27

  • What went wrong:
    Could not compile build file ‘C:\Users\Saket Sahu\Desktop\LearningJuction apk\app\build.gradle’.

startup failed:
build file ‘C:\Users\Saket Sahu\Desktop\LearningJuction apk\app\build.gradle’: 27: unexpected token: com.google.gms:google-services:3.1.1 @ line 27, column 15.
Classpath ‘com.google.gms:google-services:3.1.1’
^

1 error

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

  • Get more help at https://help.gradle.org

BUILD FAILED in 0s
4:36:48 AM: External task execution finished ‘signingReport’.


(Donát Csikós) #2

Hi,

Probably the problem is that the classpath dependency scope should be lowercase: classpath ‘com.google.gms:google-services:3.1.1’