![Generating Generating](/uploads/1/2/6/3/126356389/237530177.png)
- Related Questions & Answers
- Selected Reading
AndroidApps/ApplicationsMobile Development
This example demonstrates about How to create Android Facebook Key Hash
Generating a Development Key Hash
Generating A Release Key Hash 2017
Mac OS:- Execute below command in terminal keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64
Generating A Release Key Hash Free
Windows:- Execute below command in command prompt keytool -exportcert -alias androiddebugkey -keystore 'C:UsersUSERNAME.androiddebug.keystore' | 'PATH_TO_OPENSSL_LIBRARYbinopenssl' sha1 -binary | 'PATH_TO_OPENSSL_LIBRARYbinopenssl' base64
![Hash Hash](/uploads/1/2/6/3/126356389/980362138.gif)
Generating a Release Key Hash
keytool -exportcert -alias YOUR_RELEASE_KEY_ALIAS -keystore YOUR_RELEASE_KEY_PATH | openssl sha1 -binary | openssl base64
Click here to download the project code.
Android Studio Setup. Go to Android Studio New Project Minimum SDK. Select API 15: Android 4.0.3 (IceCreamSandwich) or higher and create your new project. After you create a new project, open Gradle Scripts build.gradle (Project: and do the following: Add the following to the. Jul 12, 2016 You should create a signed build before generating SHA-1 hash value. Create Signed Build. How To Create Signed APK Or Build. The above link will show you how to create signed APK using Android Studio. We need to create keystore file and specify it in signingConfigs for creating a SHA1 key for release variant. Nov 23, 2018 → Generate SHA-1 Key. There are a couple of ways to generate this: A) Faster way: Open Android Studio. Open your Project. Click on Gradle (From Right Side Panel, you will see Gradle Bar) Click on Refresh (Click on Refresh from Gradle Bar, you will see List Gradle scripts of your Project). In Android Studio, go to Build menu - Generate Signed Bundle / APK Select your keystore and key alias. Copy the key store path and the key alias. Here, the path is /Users/technofreek/Documents/testkeystore. The next time you build and run a debug version of your app, Android Studio regenerates a new keystore and debug key. Sign your app for release to Google Play. When you are ready to publish your app, you need to sign your app and upload it to an app store, such as Google Play.