Skip to content

FAILURE: Build failed with an exception. #24

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Jbr99921 opened this issue Apr 11, 2025 · 1 comment
Open

FAILURE: Build failed with an exception. #24

Jbr99921 opened this issue Apr 11, 2025 · 1 comment

Comments

@Jbr99921
Copy link

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:processDebugGoogleServices'.

No matching client found for package name 'com.bagisto.mobikul'

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

BUILD FAILED in 31s
Exception: Gradle task assembleDebug failed with exit code 1

@SocialMobikul
Copy link

The error is due to a mismatch between your app's package name (com.webkul.bagisto.mobikul) and the ones defined in the google-services.json file (bagisto).
To fix this, please add a new Android app in your Firebase project with the correct package name, then download and replace the existing google-services.json file in your project.

As a temporary workaround to get the project running for testing, you can change the applicationId and package name in your project to match the one used in the existing google-services.json (com.bagisto.test). Here are the steps:

Update applicationId in build.gradle:

defaultConfig {
applicationId "com.bagisto.test"
// keep the rest unchanged
}

Update package_name in google-services.json:

"package_name": "com.bagisto.test"

Clean and Rebuild the project and Let us know if you need any help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants