Default FirebaseApp is not initialized Android Origin: On your device OSI layer 7 · Application Last updated 12 Oct 2026

IllegalStateException: Default FirebaseApp is not initialized in this process

Firebase couldn’t initialise because google-services.json or the Google Services Gradle plugin is missing/misapplied, or initialisation happens in another process.

Exact message you may see Default FirebaseApp is not initialized in this processMake sure to call FirebaseApp.initializeApp(Context) firstFile google-services.json is missing
Seen on: Android

Meaning

The google-services plugin turns google-services.json into resources Firebase reads at startup. Missing plugin, JSON in the wrong folder, package name mismatch, or using Firebase in a separate process causes this.

Common causes

  • com.google.gms.google-services plugin not applied
  • google-services.json missing or in the wrong module folder
  • Package name not in the JSON
  • Using Firebase in a secondary process without initializeApp

⚡ Quick fix

  1. Apply the plugin in the app module
  2. Put google-services.json in app/
  3. Call FirebaseApp.initializeApp(context) in multi-process setups

Detailed fix by platform

Gradle

  1. kotlin
    plugins {
      id("com.android.application")
      id("com.google.gms.google-services")
    }

How to diagnose

  1. Plugin — Applied?
  2. File — app/google-services.json, package names inside
  3. Process — Which process crashed?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: On your device. Errors that are often confused with or caused by this one (click to open):

adb server version doesn't match — adb server version (41) doesn't match this client (39); killing... (Android)adb server version do…Android license status unknown / licenses not accepted — flutter doctor: Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses (Flutter / Dart)Android license statu…ApiException: 10 — Google Sign-In: com.google.android.gms.common.api.ApiException: 10 (DEVELOPER_ERROR) (Android)ApiException: 10auth/invalid-credential — Firebase Auth: auth/invalid-credential (auth/wrong-password, auth/user-not-found, auth/invalid-login-credentials) (Authentication)auth/invalid-credenti…auth/network-request-failed — Firebase Auth: auth/network-request-failed — A network AuthError (such as timeout, interrupted connection or unreachable host) has occurred (Authentication)auth/network-request-…auth/popup-closed-by-user — Firebase Auth: auth/popup-closed-by-user / auth/popup-blocked / auth/cancelled-popup-request (Authentication)auth/popup-closed-by-…auth/too-many-requests — Firebase Auth: auth/too-many-requests — Access to this account has been temporarily disabled due to many failed login attempts (Authentication)auth/too-many-requestsauthor identity unknown — Author identity unknown *** Please tell me who you are. (Git)author identity unkno…Default F…

Explore the map of this error Full error map →

🧠 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.