record google-services.json is lacking from module root folder. The Google services Plugin cannot duty without the (5 answers)
I updated my project to the recent Play services classpath "". I am likewise using the latest variation of playservices in mine app.gradle file as:

compile ""compile ""However once I compile, Gradle throws exemption as follows

Error:Execution fail for task ":app:processDebugGoogleServices". > document google-services.json is missing from module root folder. The Google solutions Plugin cannot function without it.
android google-play-services android-gradle-plugin
improve this question
edited Dec 23 "16 in ~ 16:06


18.8k1616 gold badges8080 silver badges163163 bronze badges
request Nov 23 "15 in ~ 7:57

10.7k88 yellow badges3636 silver badges5151 bronze badges
include a comment |

23 answers 23

active oldest Votes
You need to acquire the configuration file native the developer"s site and also paste the in the application level directory of her project.

You are watching: File google-services.json is missing. the google services plugin cannot function without it.



Select her project

On the left menu, click on settings > job settings

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

improve this answer
edited january 27 "20 in ~ 5:25
answer Nov 23 "15 at 8:02

5,93333 gold badges2626 silver badges4848 bronze badges
| show 2
an ext comments
Please walk to this URL :

Choose your choices and finally you will have the ability to download

google-service.json file

copy that paper and paste it right into

YourProjectName/app magazine

Then recompile the task Most more than likely it will fly

In my situation the project magazine looks like this :


enhance this answer
edited Sep 1 "19 at 1:57
answered Mar 16 "16 at 6:45

14.6k1818 gold badges7373 silver badges102102 bronze title
add a comment |
For anyone using Firebase you need to get in your console and there it need to say "add task to Android". Indigenous there, it will step-by-step create the google-services.json record for you.

boost this answer
edited Oct 14 "16 in ~ 18:29
answer Jun 11 "16 in ~ 18:16

9,33199 gold badges6969 silver badges107107 bronze badges
add a comment |
I obtained this error if trying to operation Google"s Firebase analytics sample app:


Add quickstart/analytics come Android Studio

Add Procedure:

Click top top "GO come CONSOLE"Click ~ above "Add Project"Project name: Enter: sample-appClick "Create Project"Click "Continue"On the "Getting Started" page, click "Add Firebase to your Android app"Enter package name for the android app Click ~ above download google-services.jsonIn file explorer, add google-services.json come the directory: "quickstart/analytics/app" Run "app"The sample app already contains the important Gradle record settings. When adding a brand-new project do: tools -> Firebase -> analytics -> include Event -> Connect app to Firebase. Including a job via Android Studio ensures that all the Gradle Dependecies space setup.

See more: W I Wanna Be Bad For You Baby, I Wanna Be Bad Lyrics By Willa Ford

Remove Procedure:

Click ~ above "GO come CONSOLE"Settings -> project Settings -> Delete this AppSettings -> task Settings -> Delete ProjectEnter job ID and also press delete

I added and eliminated the sample app multiple times without any noticeable next effects.