Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error: File google-services.json is missing. The Google Services Plugin cannot function without it.

i have already include google-services.json file in my app but it still give me error. Error:Execution failed for task ':app:processDebugGoogleServices'.

File google-services.json is missing. The Google Services Plugin cannot function without it. Searched Location: C:\Users\vikas\AndroidStudioProjects\FireBaseFunctionality\app\src\debug\google-services.json C:\Users\vikas\AndroidStudioProjects\FireBaseFunctionality\app\google-services.json

like image 648
Vikas Sharma Avatar asked Jun 17 '16 08:06

Vikas Sharma


3 Answers

Had the same problem - builded before next step of tutorial. You have to generate and download the file from firebase website. See Error "File google-services.json is missing from module root folder. The Google Services Plugin cannot function without it" - late, but someone may need this nowdays.

like image 87
Filip Jeřábek Avatar answered Nov 01 '22 15:11

Filip Jeřábek


go into SDK manager --> SDK tool---->install play service and USB tool and repository I have solved same problem with above method

or u can change the name of google service google-services.json instead of google-services(any number).json

like image 41
keyur patel Avatar answered Nov 01 '22 14:11

keyur patel


just change in the build.gradle the line

compile fileTree (dir: 'libs', include: ['* .jar'])

to

implementation fileTree(dir: 'libs', include: ['*.jar'])

like image 1
Ninguém Joga 2 Avatar answered Nov 01 '22 16:11

Ninguém Joga 2