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
go to "android" directory in android studio in terminal
cd android
./gradlew signingReport
this should work. if not try this:
gradlew signingReport
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