skip to Main Content

Am trying to generate SHA-1 to put in firebase so I can enable google sign-in in my flutter app, but when I run gradew signingReport, the terminal throws an error that

> BUG! exception in phase 'semantic analysis' in source unit '_BuildScript_' Unsupported class file major version 65

* 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.

* Get more help at https://help.gradle.org

What could be the cause

2

Answers


  1. go to "android" directory in android studio in terminal

    1. cd android

    2. ./gradlew signingReport

    this should work. if not try this:

    gradlew signingReport

    Login or Signup to reply.
  2. very simple just open the terminal and type the command in the terminal cd android. then run this command ./gradlew signingReport you will get SHA-1 key and others

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