Error:Execution failed for task ':app:processDebugGoogleServices'. > Missing api_key/current_key object
First in your JSON file Replace "api_key" : [] with "api_key" : [{ "current_key" : "" }] Then the gradle build will be successful but when you run your application you may get errors like the following.. Error : Execution failed for task ':app:transformResourcesWithMergeJavaResForDebug' . > com . android . build . api . transform . TransformException : com . android . builder . packaging . DuplicateFileException : Duplicate files copied in APK META - INF / LICENSE File1 : C : \Users\bucky\.gradle\caches\modules - 2 \files - 2.1 \com . fasterxml . jackson . core\jackson - core\2 . 2.2 \d 20be6a5ddd6f8cfd36ebf6dea329873a1c41f1b \jackson - core - 2.2 . 2.jar File2 : C : \Users\bucky\.gradle\caches\modules - 2 \files - 2.1 \com . fasterxml . jackson . core\jackson - databind\2 . 2.2 \3c8f6018eaa72d43b261181e801e6f8676c16ef6\jackson - databind - 2.2 . 2.jar File3 : C : \Users\bucky\.gradle\caches\mod