skip to Main Content
  1. enter image description here
    In this image the error is shown, please tell me a proper solution for this.

I want to get the SHA-1 and SHA-256 key value by running the "./gradlew signingReport" command.
What else can be done in this?

I want the SHA key for the firebase project set Up so this is the problem that I’m facing right now.

2

Answers


  1. go to search bar and search signingreport and press enter after that build you will reviece a SHA-1 Key you can get on there.

    Login or Signup to reply.
  2. Problem:
    You are facing an issue because of a mismatch between the google-services library version and your project’s Java version. You are also using an outdated way of applying the Flutter Gradle plugin, which is now deprecated.

    Steps to fix this:

    1. Update the google-services library version to the latest one in your project. The version you are currently using is outdated and incompatible.

    2. Make sure your project is using Java 8. This will help resolve the Java version conflict.

    3. Apply the Google Services plugin using the new method recommended by Flutter’s documentation. The way you are currently applying it is no longer supported.

    4. Clean and rebuild your project to remove any cached issues.

    5. After making these changes, run the ./gradlew signingReport command again to generate the SHA-1 and SHA-256 keys for your Firebase project.

    Ensure that all your project dependencies are updated to their latest versions.

    If you’re still facing issues, check the Flutter breaking changes documentation here for any recent changes that could be affecting your project.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search