Error: File google-services.json is missing. The Google Services Plugin cannot function without it.
Solution 1
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.
Solution 2
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
Solution 3
just change in the build.gradle the line
compile fileTree (dir: 'libs', include: ['* .jar'])
to
implementation fileTree(dir: 'libs', include: ['*.jar'])
Vikas Sharma
i am Android Developer in VACE software Solutions. I have 6 months Experience in Android Development and also Java Certified Programmer (OCPJP)1.6.
Updated on June 05, 2022Comments
-
Vikas Sharma about 2 years
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
-
IgorGanapolsky over 4 yearsIs this a viable solution in 2019?
-
K-Dawg about 4 yearsWhere would I expect to find .pub-cache?!
-
Sercan over 2 yearsThis does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. To get notified when this question gets new answers, you can follow this question. Once you have enough reputation, you can also add a bounty to draw more attention to this question. - From Review
-
JIJO J over 2 yearsIt's in the flutter installation folder. Would be hidden.
-
K-Dawg over 2 yearsThanks, dude appreciated!