Software⏱️ 2 min read📅 2026-05-31

How to Fix: Failed to resolve: com.google.firebase:firebase-core:9.0.0

Failed to resolve com.google.firebase:firebase-core:9.0.0 error while upgrading Firebase project.

Quick Answer: Try cleaning the project and rebuilding it, or check if there are any conflicting libraries in your build.gradle file.

The error 'Failed to resolve: com.google.firebase:firebase-core:9.0.0' occurs when the Firebase SDK for Android is not properly configured or updated in your project. This can happen due to various reasons such as outdated dependencies, incorrect configuration, or missing libraries.

🛑 Root Causes of the Error

  • Outdated Firebase SDK version
  • Incorrect configuration in build.gradle file
  • Missing or corrupted library files

🛠️ Step-by-Step Verified Fixes

Method 1: Update Firebase SDK Version

  1. Step 1: Open your project's build.gradle file and update the Firebase SDK version to the latest one.

Method 2: Update Configuration in build.gradle

  1. Step 1: In the build.gradle file, add the Firebase SDK configuration and make sure to specify the correct version number.

🎯 Final Words

To resolve this error, try updating your Firebase SDK version and configuration in your build.gradle file. If the issue persists, ensure that all library files are present and correctly configured.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions