Execution failed for task ‘:app:processDebugGoogleServices’ React Native Error Fix

By Rashid •  April 18th, 2018 • 

When you’re developing an Android app with React Native it is pretty common to get stuck with the error given below:

* What went wrong:
Execution failed for task ‘:app:processDebugGoogleServices’.
> Failed to create folder: F:\YourProject\android\app

This error is very common while building apps with React Native and all you need here are to clean gradle and rebuild your project.

For that, use the commands given below:

cd android && gradlew clean

Through the above command you will be navigated to android folder and gradle clean will be executed.

After that, just navigate back to project folder and rebuild your react native project using the following command

cd.. && react-native run-android

The error gets fixed with this but that doesn’t mean the error wouldn’t appear again. When the error reappears follow the above steps again to fix the error.


Keep Reading