Key Hash generate for Facebook integration in Android



The command for key hash generate in Windows
   
keytool -exportcert -alias androiddebugkey -keystore "C:\Users\USERNAME\.android\debug.keystore" | "PATH_TO_OPENSSL_LIBRARY\bin\openssl" sha1 -binary | "PATH_TO_OPENSSL_LIBRARY\bin\openssl" base64
 

Example:

keytool -exportcert -alias androiddebugkey -keystore "C:\Users\Manikandan.Kasinatha\.android\debug.keystore" | "C:\openssl\bin\openssl" sha1 -binary | "C:\openssl\bin\openssl" base64




Download OpenSSL execute the file from the below website

https://www.openssl.org/source/






Comments

Popular posts from this blog

Your build is currently configured to use incompatible Java 21.0.3 and Gradle 8.2.1. Cannot sync the project.

SonarQube With Angular 19 on Windows: A Complete Setup and Integration Guide

Error in Android Migration Gradle 7.5 to 8.5 - java.lang.NullPointerException: Cannot invoke "String.length()" because "" is null