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

How to Fix: Android Credential Manager Google Sign-In fails with DEVELOPER_ERROR and &q

Android Credential Manager Google Sign-In fails with DEVELOPER_ERROR and Unknown calling package name com.google.android.gms

Quick Answer: Check if the Google Play Services version is outdated, update to the latest version (e.g., 28.0.0) and ensure that the package name in the AndroidManifest.xml file matches the one used in the Credential Manager API.

The error 'Unknown calling package name 'com.google.android.gms'' when using Android Credential Manager for Google Sign-In in your Flutter application can be caused by several factors. This issue has been reported by multiple users, and it's essential to identify the root cause to resolve it.

⚠️ Common Causes

  • Outdated Google Play Services version
  • Incompatible package name or AndroidManifest.xml configuration
  • Missing or incorrect Google Sign-In permissions in the AndroidManifest.xml file

🛠️ Step-by-Step Verified Fixes

Method 1: Update Google Play Services version

  1. Step 1: Open your project's build.gradle file and update the Google Play Services dependency to the latest version.
  2. Step 2: Run the command `flutter pub get` in your terminal to update the dependencies.

Method 2: Update package name or AndroidManifest.xml configuration

  1. Step 1: Open your project's AndroidManifest.xml file and ensure that the package name matches the one you used in your Flutter application.
  2. Step 2: Check if there are any duplicate or conflicting package names, and resolve them accordingly.

💡 Conclusion

By following these steps and resolving the common causes, you should be able to fix the 'Unknown calling package name 'com.google.android.gms'' error when using Android Credential Manager for Google Sign-In in your Flutter application.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions