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 "com.google.gms:google-services:1.5.0-beta2". I am likewise using the latest variation of playservices in mine 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 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
re-publishing
improve this question
monitor
edited Dec 23 "16 in ~ 16:06

*

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

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

23 answers 23


active oldest Votes
219
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.

Update:

Goto

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.


re-superstructure
improve this answer
monitor
edited january 27 "20 in ~ 5:25
answer Nov 23 "15 at 8:02
*

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

https://developers.google.com/mobile/add

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 :

*


re-publishing
enhance this answer
monitor
edited Sep 1 "19 at 1:57
answered Mar 16 "16 at 6:45
*

erluxmanerluxman
14.6k1818 gold badges7373 silver badges102102 bronze title
add a comment |
34
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.


re-superstructure
boost this answer
follow
edited Oct 14 "16 in ~ 18:29
answer Jun 11 "16 in ~ 18:16
*

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

Prerequisites:

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.