File google-services.json is missing. The Google Services Plugin cannot function without it.
The Google Services plugin can't find google-services.json in the app module.
File google-services.json is missingGoogle Services Plugin cannot function without itgoogle-services.json not foundExecution failed for task ':app:processDebugGoogleServices'. > File google-services.json is missing. The Google Services Plugin cannot function without it. Meaning
Download the file from the Firebase console and place it in app/ (or the flavor folder). Check the filename and the module path.
Common causes
- File not downloaded or not committed
- Placed in the project root, not app/
- Wrong flavor folder
⚡ Quick fix
- Download google-services.json from Firebase
- Put it in app/ (or app/src/<flavor>/)
- Add it to CI secrets
Detailed fix by platform
Shell
- kotlin
ls app/google-services.json grep package_name app/google-services.json
How to diagnose
- Path — app/?
- Flavor — folder?
- CI — file provided?
🔧 Still not fixed?
Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:
Similar errors
- Android license status unknown / licenses not accepted flutter doctor: Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses
- Android resource linking failed AAPT: error: resource x (aka y) not found — Android resource linking failed
- android:attr/lStar not found AAPT: error: resource android:attr/lStar not found
Most viewed in Android
- Could not resolve Gradle: Could not resolve all files for configuration / Could not resolve dependency
- INSTALL_FAILED_USER_RESTRICTED INSTALL_FAILED_USER_RESTRICTED: Install canceled by user (Xiaomi/MIUI, Oppo, Vivo)
- INSTALL_PARSE_FAILED_NO_CERTIFICATES INSTALL_PARSE_FAILED_NO_CERTIFICATES / App not installed as package appears to be invalid
Other ways to find it
Where this error sits
Origin: On your device. Errors that are often confused with or caused by this one (click to open):
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
💬 What worked for others
No tips yet — did something else fix this for you?
Share what worked for you
Tips are checked by an editor before they appear. Links are removed.
Report a correction or suggest an improvement
Last updated 25 Nov 2026