Error File google-services json is missing from module root folder The Google Services Plugin cannot function without it

0 votes


I updated my project to the latest Play services classpath 'com.google.gms:google-services:1.5.0-beta2'. I am also using the latest version of play services in my app.gradle file as:

compile 'com.google.android.gms:play-services-location:8.3.0' 
compile 'com.google.android.gms:play-services-gcm:8.3.0'


However when I compile, Gradle throws exception as follows

Error:Execution failed for task ':app:processDebugGoogleServices'. > File google-services.json is missing from the module root folder. The Google Services Plugin cannot function without it.

Feb 16 in Others by Rahul
• 8,980 points
2,872 views

1 answer to this question.

0 votes

To answer your question, you need to get the configuration file from the developer's site and paste it in the app level directory of your project.

Start with Going to:- 

  1. https://console.firebase.google.com/

  2. Select your project

  3. On the left menu, click on settings > project settings

  4. Add an app or download the google-services.json file under the Your Apps section.

answered Feb 16 by Soham
• 8,730 points

Related Questions In Others

+1 vote
0 answers
0 votes
1 answer

What is the difference between hadoop and google analytics ?

I will try and answer this as ...READ MORE

answered Aug 22, 2018 in Others by Frankie
• 9,830 points
757 views
+1 vote
2 answers

What is the different between xml and json?

These are the differences:   It is JavaScript Object ...READ MORE

answered Feb 7, 2019 in Others by Junaid
361 views
0 votes
2 answers

What is white box testing and how is it different from black box testing?

Black Box Testing is a software testing method in ...READ MORE

answered Feb 20, 2019 in Others by preetiagarwal
• 170 points
735 views
0 votes
1 answer
0 votes
1 answer

Invoke-customs are only supported starting with android 0 --min-api 26

After hours of working on this probleme, ...READ MORE

answered Feb 16 in Others by Soham
• 8,730 points
425 views
0 votes
0 answers

Exception : AAPT2 error: check logs for details

While migrating to gradle-plugin-3.0.0, I am getting this ...READ MORE

Apr 30 in Other DevOps Questions by Kichu
• 19,040 points
41 views
0 votes
1 answer
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP