Run this command from your android directory.
./gradlew signingReport
keytool -list -v -keystore "%USERPROFILE%.androiddebug.keystore" -alias androiddebugkey -storepass android -keypass android
in Android Studio
Fix:
- press ctrl twice
- run->
- keytool -list -v -keystore "c:usersusername.androiddebug.keystore" -alias androiddebugkey -storepass android -keypass android
in Visual Studio Code
fix:
terminal CMD
run -> cd C:Program Files (x86)Javajre1.8.0_301in
run -> keytool -list -v -keystore "c:usersusername.androiddebug.keystore" -alias androiddebugkey -storepass android -keypass android
keytool -list -v -keystore {keystore_name} -alias {alias_name}
open gradle task executor then type: 'gradle signingReport' and hit
enter you will get both sha1 keys for debug and release
keytool -list -v -keystore C:UsersMGDesktop est.jks -alias test
keytool -list -v -keystore "C:Usersyourusernamehere.androiddebug.keystore" -alias androiddebugkey -storepass android -keypass android
keystore_name mean location of the release key file and alias will be key by default