问题
how to get sha-1 in the version of android studio 3.6.2 ?
回答1:
gradle->app->Tasks->android->signingReport
Also Try this command in terminal:
In Windows:
keytool -list -v -keystore "%USERPROFILE%\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android
In Linux or macOS:
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
Replace your keystore address and your alias name.
回答2:
Right click on android directory, you should then see an option of Flutter > Open for editing in Android Studio, open it.
Having opened the module in AS, look for Gradle on right hand side in navigation menu, navigate to signingReport and double click on it, you have your SHA1 in terminal.
来源:https://stackoverflow.com/questions/61690956/how-to-get-sha-1-in-android-studio-3-6-2