Obtaining the debug version of SHA1:
1. First of all, the installation path of your jdk should be configured in the environment variable.
2. Find C:\Users\admin\ .Android , find debug.keystore in the .android folder, this is your keystore file
3. Enter C:\Users\admin\ .Android directory in the terminal of studio , enter keytool -list -v -keystore debug.keystore
keystore password can be skipped by pressing ENTER (default is android), you can get the SHA1 of the debug version.
Obtaining the SHA1 of the release version: