Reputation: 21
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\Latif\AndroidStudioProjects\tutorialUp\app\src\nullnull\debug\google-services.json
C:\Users\Latif\AndroidStudioProjects\tutorialUp\app\src\debug\nullnull\google-services.json
C:\Users\Latif\AndroidStudioProjects\tutorialUp\app\src\nullnull\google-services.json
C:\Users\Latif\AndroidStudioProjects\tutorialUp\app\src\debug\google-services.json
C:\Users\Latif\AndroidStudioProjects\tutorialUp\app\src\nullnullDebug\google-services.json
C:\Users\Latif\AndroidStudioProjects\tutorialUp\app\google-services.json
Here is the prove that I have added the json file:
Upvotes: 0
Views: 3722
Reputation: 863
It has to be named 'google-services.json': remove the ' (6)' from the file name.
Also, if you're using multiple build types/flavours, you might wanne put it in app/src, too.
Also, add:
apply plugin: 'com.google.gms.google-services'
to build.gradle.
Upvotes: 1