79701164

Date: 2025-07-14 17:01:38
Score: 0.5
Natty:
Report link
1) When using Firebase Authentication:
Make sure your Android SDK is up to date. You can do this from Android Studio:
    •   Go to Tools > SDK Manager.
    •   Check the installed SDK components.
    •   If any have updates available, update them.

Updating the SDK resolved the problem for me.

⸻

2) When using Firebase Firestore:
I discovered there were conflicting versions of Google Play Services installed. To check this:
    •   Use the following ADB command to list the installed versions:

adb shell dumpsys package com.google.android.gms | grep versionName

    •   In my case, I saw two versions:
    •   versionName=25.08.32
    •   versionName=24.23.35

To fix the conflict:
    •   Open your device Settings.
    •   Go to Apps > Google Play Services.
    •   Reset Google Play Services to the default (base) version.
    •   Run the ADB command again to confirm that only one version remains (in my case, versionName=24.23.35).

After this cleanup, the error disappeared.
Reasons:
  • Long answer (-0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Pavan Vittal