Option 1: If you are using an Android Studio or VS code:
Open VS code: Drag the “android” folder and drop it into Terminal
Copy:
./gradlew signingReport
Open Android Studio: Drag the “android” folder and drop it into Terminal
Copy:
./gradlew signingReport
Option 2: Get the SHA-1,SHA-256 for Command
Get the SHA-1,SHA-256 debug:
On Mac/Linux, use the following command:
keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android
On Windows, use the following command:
keytool -list -v -keystore "\.android\debug.keystore" -alias androiddebugkey -storepass android -keypass android
Get the SHA-1,SHA-256 release:
Step 1. Create an upload keystore
On Mac/Linux, use the following command:
keytool -genkey -v -keystore ~/upload-keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -alias upload
On Windows, use the following command:
keytool -genkey -v -keystore %userprofile%\upload-keystore.jks -storetype JKS -keyalg RSA -keysize 2048 -validity 10000 -alias upload
Step 2. Get the SHA-1,SHA-256 release
Copy the path to the file ” upload-keystore.jks “ just created in step 1:
Example( Mac ) : /Users/yourusernamehere/upload-keystore.jks
Example(Windows ) : C:\Users\yourusernamehere.android\upload-keystore.jks
On Mac/Linux, use the following command:
keytool -list -v -keystore "/Users/yourusernamehere/upload-keystore.jks" -alias upload
On Windows, use the following command:
keytool -list -v -keystore "C:\Users\yourusernamehere.android\upload-keystore.jks" -alias upload
Video Guide