Error map

File google-services.json is missing File google-services.json is missing. The Google Services Plugin cannot function without it.

Android · layer 1, On your device

Open the full error page →

Centre: this error. First ring: errors it is linked with (12). Outer ring: what those are linked with. Colours show the layer of a request each error belongs to. Click any dot to re-centre the map on it; hover to follow its connections. The centre dot opens the error page.

File google-services.json is missing — File google-services.json is missing. The Google Services Plugin cannot function without it. (Android)File google…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 sta…author identity unknown — Author identity unknown *** Please tell me who you are. (Git)author identity unk…not a git repository — fatal: not a git repository (or any of the parent directories): .git (Git)not a git repositorySDK location not found — SDK location not found. Define a valid SDK location with an ANDROID_HOME environment variable or by setting the sdk.dir path in local.properties (Android)SDK location not fo…Default FirebaseApp is not initialized — IllegalStateException: Default FirebaseApp is not initialized in this process (Android)Default FirebaseApp…Android resource linking failed — AAPT: error: resource x (aka y) not found — Android resource linking failed (Android)Android resource li…cmdline-tools component is missing — flutter doctor: Android SDK is missing command-line tools; download from https://goo.gl/XxQghQ — cmdline-tools component is missing (Flutter / Dart)cmdline-tools compo…android:attr/lStar not found — AAPT: error: resource android:attr/lStar not found (Android)android:attr/lStar …No Firebase App '[DEFAULT]' has been created — Flutter: [core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp() (Flutter / Dart)No Firebase App '[D…Google Maps: Authorization failure (API key / SHA-1) — Authorization failure. Please see https://developers.google.com/maps/documentation/android-sdk/start for how to correctly set up the map. Ensure that the following correspond to what is in the API... (Android)Google Maps: Author…Firestore: Could not reach Cloud Firestore backend — W/Firestore: (25.0.0) [WebChannelConnection]: Could not reach Cloud Firestore backend. Connection failed 1 times. Most recent error: UNAVAILABLE (Android)Firestore: Could no…FirebaseRemoteConfigFetchThrottledException — com.google.firebase.remoteconfig.FirebaseRemoteConfigFetchThrottledException: Fetch is throttled. Try again later. (Android)FirebaseRemoteConfi…adb server version doesn't match — adb server version (41) doesn't match this client (39); killing... (Android)adb server version …invalid active developer path — xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun (iOS)invalid active deve…RenderBox was not laid out — Flutter: RenderBox was not laid out: RenderFlex#a1b2c relayoutBoundary=up2 NEEDS-PAINT — Failed assertion: 'hasSize' (Flutter / Dart)RenderBox was not l…413 — HTTP 413 Content Too Large (Request Entity Too Large) (HTTP)413redirect_uri_mismatch — OAuth Error: redirect_uri_mismatch (Authentication)redirect_uri_mismat…divergent branches — hint: You have divergent branches and need to specify how to reconcile them. (Git)divergent branchesnon-fast-forward — Git: ! [rejected] … (fetch first) — error: failed to push some refs (Git)non-fast-forwardpublickey — Git: Permission denied (publickey). fatal: Could not read from remote repository. (Git)publickeycommand not found — bash: command not found (Linux)command not foundUnsupported class file major version — Gradle: Unsupported class file major version / Android Gradle plugin requires Java 17 to run (Android)Unsupported class f…ENOENT — npm ERR! enoent ENOENT: no such file or directory, open '/path/package.json' (npm)ENOENTyarn not found — yarn: command not found (npm)yarn not foundJAVA_HOME not set — ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. (Java)JAVA_HOME not setTarget container is not a DOM element — Error: createRoot(...): Target container is not a DOM element. (React)Target container is…ReactDOM.render deprecated — Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. (React)ReactDOM.render dep…Could not resolve — Gradle: Could not resolve all files for configuration / Could not resolve dependency (Android)Could not resolveManifest merger failed — Manifest merger failed: android:exported needs to be explicitly specified (Android)Manifest merger fai…Duplicate class — Duplicate class X found in modules A and B (Android)Duplicate classBoxConstraints forces an infinite width — Flutter: BoxConstraints forces an infinite width. These invalid constraints were provided to RenderStack's layout() function (TextField in a Row) (Flutter / Dart)BoxConstraints forc…PlatformException(sign_in_failed, ApiException: 10) — Flutter: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null) (Flutter / Dart)PlatformException(s…Cleartext HTTP traffic not permitted — Flutter (Android): java.io.IOException: Cleartext HTTP traffic to api.example.com not permitted (Flutter / Dart)Cleartext HTTP traf…FailedScheduling — Kubernetes: Pod stuck in Pending — FailedScheduling: 0/3 nodes are available (Kubernetes)FailedSchedulingEvicted — Kubernetes: Pod Evicted — The node was low on resource: memory / ephemeral-storage (Kubernetes)EvictedGradle wrapper main class — Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain (Java)Gradle wrapper main…ApiException: 10 — Google Sign-In: com.google.android.gms.common.api.ApiException: 10 (DEVELOPER_ERROR) (Android)ApiException: 10Missing or insufficient permissions — Firestore: FirebaseError: [code=permission-denied]: Missing or insufficient permissions (Google Cloud / Firebase)Missing or insuffic…MissingPluginException: No implementation found for method — Flutter: MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences) (Flutter / Dart)MissingPluginExcept…Error building the app bundle — Execution failed for task ':app:bundleRelease'. Error while executing bundletool (Android)Error building the …AccessibilityService restricted setting (Android 13) — Restricted setting: For your security, this setting is currently unavailable (Android)AccessibilityServic…Google Map shows gray grid (no tiles) — (behavior) MapFragment displays grey tiles and Google logo only (Android)Google Map shows gr…UnknownHostException: Unable to resolve host — java.net.UnknownHostException: Unable to resolve host "api.example.com": No address associated with hostname (Android)UnknownHostExceptio…FCM: Fetching FCM registration token failed — FirebaseMessaging: Fetching FCM registration token failed java.io.IOException: SERVICE_NOT_AVAILABLE (Android)FCM: Fetching FCM r…No matching client found for package name — No matching client found for package name 'com.example.app.debug' in google-services.json (Android)No matching client …Crashlytics: unsymbolicated stack traces / mapping file not uploaded — Crashlytics: Missing deobfuscation mapping file (Android)Crashlytics: unsymb…Firebase Analytics events not appearing in DebugView — (behavior) logEvent does nothing in DebugView (Android)Firebase Analytics …

Directly related (12)

Android license status unknown / licenses not acceptedFlutter / Dart

flutter doctor: Android license status unknown. Run `flutter doctor --android-licenses` to accept the SDK licenses

The Android SDK licenses have not been accepted, so builds cannot download or use SDK components.

author identity unknownGit

Author identity unknown *** Please tell me who you are.

Git doesn’t know your name and email for commits.

not a git repositoryGit

fatal: not a git repository (or any of the parent directories): .git

You ran a Git command outside a Git working tree.

SDK location not foundAndroid

SDK location not found. Define a valid SDK location with an ANDROID_HOME environment variable or by setting the sdk.dir path in local.properties

Gradle doesn’t know where the Android SDK is installed.

Default FirebaseApp is not initializedAndroid

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 initiali…

Android resource linking failedAndroid

AAPT: error: resource x (aka y) not found — Android resource linking failed

A layout, manifest or style references a resource (drawable, string, style, attribute) that doesn’t exist in the module or its de…

cmdline-tools component is missingFlutter / Dart

flutter doctor: Android SDK is missing command-line tools; download from https://goo.gl/XxQghQ — cmdline-tools component is missing

The Android SDK Command-line Tools package is not installed, so Flutter cannot run `sdkmanager` or accept licenses.

android:attr/lStar not foundAndroid

AAPT: error: resource android:attr/lStar not found

A dependency (androidx.core 1.7+) uses an attribute from Android 12 (API 31), but your module compiles against an older compileSd…

No Firebase App '[DEFAULT]' has been createdFlutter / Dart

Flutter: [core/no-app] No Firebase App '[DEFAULT]' has been created - call Firebase.initializeApp()

A Firebase service was used before `Firebase.initializeApp()` ran and completed.

Google Maps: Authorization failure (API key / SHA-1)Android

Authorization failure. Please see https://developers.google.com/maps/documentation/android-sdk/start for how to correctly set up the map. Ensure that the following correspond to what is in the API...

The Maps API key doesn't match your app's package/signature.

Firestore: Could not reach Cloud Firestore backendAndroid

W/Firestore: (25.0.0) [WebChannelConnection]: Could not reach Cloud Firestore backend. Connection failed 1 times. Most recent error: UNAVAILABLE

The device couldn't connect to Firestore.

FirebaseRemoteConfigFetchThrottledExceptionAndroid

com.google.firebase.remoteconfig.FirebaseRemoteConfigFetchThrottledException: Fetch is throttled. Try again later.

Remote Config limits fetches per hour.

Two steps away (35)

adb server version doesn't matchAndroid

adb server version (41) doesn't match this client (39); killing...

Two different adb binaries are running — e.g. Android Studio’s SDK adb and another one on PATH (Homebrew, Genymotion, older SDK).

invalid active developer pathiOS

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun

The Xcode Command Line Tools are missing or broken — typical right after a macOS update.

RenderBox was not laid outFlutter / Dart

Flutter: RenderBox was not laid out: RenderFlex#a1b2c relayoutBoundary=up2 NEEDS-PAINT — Failed assertion: 'hasSize'

A widget was asked for its size or painted before layout finished, usually because a parent gave it unbounded or conflicting cons…

413HTTP

HTTP 413 Content Too Large (Request Entity Too Large)

The request body is bigger than the server is willing to accept — usually a file upload over the configured limit.

redirect_uri_mismatchAuthentication

OAuth Error: redirect_uri_mismatch

The redirect URI in your OAuth request doesn’t exactly match one registered for the client in the provider’s console.

divergent branchesGit

hint: You have divergent branches and need to specify how to reconcile them.

Git 2.27+ asks you to choose merge, rebase or fast-forward-only when local and remote both have new commits.

non-fast-forwardGit

Git: ! [rejected] … (fetch first) — error: failed to push some refs

The remote branch has commits you don’t have locally, so Git refuses to overwrite them. Pull (merge or rebase) first, then push.

publickeyGit

Git: Permission denied (publickey). fatal: Could not read from remote repository.

SSH authentication to GitHub/GitLab/Bitbucket failed — no key, wrong key, or the key isn’t added to your account.

command not foundLinux

bash: command not found

The shell can’t find an executable with that name in any directory on your PATH.

Unsupported class file major versionAndroid

Gradle: Unsupported class file major version / Android Gradle plugin requires Java 17 to run

The JDK running Gradle doesn’t match what the Gradle version or Android Gradle Plugin (AGP) supports.

ENOENTnpm

npm ERR! enoent ENOENT: no such file or directory, open '/path/package.json'

npm ran in a directory without a package.json.

yarn not foundnpm

yarn: command not found

Yarn isn’t installed (or not enabled through Corepack) on this machine.

JAVA_HOME not setJava

ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH.

Build tools (Gradle, Maven, Android tools) can’t find a JDK.

Target container is not a DOM elementReact

Error: createRoot(...): Target container is not a DOM element.

The element passed to createRoot/render doesn’t exist when the script runs.

ReactDOM.render deprecatedReact

Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead.

The app uses the legacy root API, so React 18 features (concurrent rendering, automatic batching) are disabled.

Could not resolveAndroid

Gradle: Could not resolve all files for configuration / Could not resolve dependency

Gradle couldn’t download a dependency — wrong coordinates/version, missing repository, offline mode, or network/proxy issues.

Manifest merger failedAndroid

Manifest merger failed: android:exported needs to be explicitly specified

Targeting Android 12 (API 31)+ requires `android:exported` on every activity, service or receiver that has an intent-filter.

Duplicate classAndroid

Duplicate class X found in modules A and B

Two dependencies ship the same class — typically old Android Support libraries mixed with AndroidX, or Kotlin stdlib-jdk7/jdk8 ve…

BoxConstraints forces an infinite widthFlutter / Dart

Flutter: BoxConstraints forces an infinite width. These invalid constraints were provided to RenderStack's layout() function (TextField in a Row)

A widget that needs a finite width, like a `TextField` or `Container` with no size, was placed where the parent offers unlimited…

PlatformException(sign_in_failed, ApiException: 10)Flutter / Dart

Flutter: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 10: , null, null)

Google Sign-In failed on Android because the app's SHA-1 fingerprint or package name is not registered for the OAuth client.

Cleartext HTTP traffic not permittedFlutter / Dart

Flutter (Android): java.io.IOException: Cleartext HTTP traffic to api.example.com not permitted

Android 9+ blocks plain `http://` requests by default; the app must use HTTPS or explicitly allow cleartext for that host.

FailedSchedulingKubernetes

Kubernetes: Pod stuck in Pending — FailedScheduling: 0/3 nodes are available

The scheduler can’t find a node that satisfies the pod’s resource requests, selectors, taints or volume constraints.

EvictedKubernetes

Kubernetes: Pod Evicted — The node was low on resource: memory / ephemeral-storage

The kubelet removed the pod because its node ran short of memory or disk.

Gradle wrapper main classJava

Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain

The Gradle wrapper JAR (gradle/wrapper/gradle-wrapper.jar) is missing or corrupt.

ApiException: 10Android

Google Sign-In: com.google.android.gms.common.api.ApiException: 10 (DEVELOPER_ERROR)

Google Sign-In is misconfigured — the app’s package name or SHA-1/SHA-256 signing fingerprint isn’t registered in Google Cloud/Fi…

Missing or insufficient permissionsGoogle Cloud / Firebase

Firestore: FirebaseError: [code=permission-denied]: Missing or insufficient permissions

Firestore Security Rules denied the read/write — the user isn’t signed in, the rule conditions don’t match, or test-mode rules ex…

MissingPluginException: No implementation found for methodFlutter / Dart

Flutter: MissingPluginException(No implementation found for method getAll on channel plugins.flutter.io/shared_preferences)

Dart called a plugin's native method but the native side is not registered, usually because the app was not fully rebuilt after a…

Error building the app bundleAndroid

Execution failed for task ':app:bundleRelease'. Error while executing bundletool

Building the Android App Bundle (.aab) failed in the bundle step.

AccessibilityService restricted setting (Android 13)Android

Restricted setting: For your security, this setting is currently unavailable

Sideloaded apps can't use accessibility on Android 13+ until allowed.

Google Map shows gray grid (no tiles)Android

(behavior) MapFragment displays grey tiles and Google logo only

The map loads but draws no tiles, usually an API key problem.

UnknownHostException: Unable to resolve hostAndroid

java.net.UnknownHostException: Unable to resolve host "api.example.com": No address associated with hostname

The device couldn't turn the host name into an IP address.

FCM: Fetching FCM registration token failedAndroid

FirebaseMessaging: Fetching FCM registration token failed java.io.IOException: SERVICE_NOT_AVAILABLE

The device couldn't register with Firebase Cloud Messaging.

No matching client found for package nameAndroid

No matching client found for package name 'com.example.app.debug' in google-services.json

The app's applicationId isn't registered in the Firebase project.

Crashlytics: unsymbolicated stack traces / mapping file not uploadedAndroid

Crashlytics: Missing deobfuscation mapping file

Crashlytics shows obfuscated stack traces because mapping files weren't uploaded.

Firebase Analytics events not appearing in DebugViewAndroid

(behavior) logEvent does nothing in DebugView

Events don't show in DebugView.