How to Get SHA-1 & SHA-256 Keys for Firebase | Android Studio & Keytool Methods (2025)

How to Get SHA-1 & SHA-256 Keys for Firebase | Android Studio & Keytool Methods (2025) In this tutorial, you’ll learn **how to get SHA-1 and SHA-256 keys** for your Android app to integrate with **Firebase**, using both **Android Studio** and the **Keytool command-line method**. These keys are essential for enabling Firebase Authentication features like **Google Sign-In**, **Phone Auth**, and more. Whether you’re building a new Flutter, Kotlin, or Java Android app, this step-by-step guide will show you how to retrieve your app’s **digital fingerprints** the right way. --- ### 📌 Why SHA-1 & SHA-256 Are Important? Firebase requires the **SHA-1** and **SHA-256 certificate fingerprints** to verify your app’s authenticity and to enable features like: - Google Sign-In Authentication - Dynamic Links - App Invites - Phone Authentication - Android App Integrity - Firebase ML --- ### 🔧 Methods Covered in This Tutorial: #### ✅ **Method 1: Using Android Studio** 1. Open your Android project in Android Studio. 2. Navigate to: ``` Gradle - Your Project - Tasks - android - signingReport ``` 3. Double-click on `signingReport`. 4. SHA-1 and SHA-256 fingerprints will appear in the **Run** window for each build variant (debug/release). #### ✅ **Method 2: Using Keytool (Command Line)** 1. Open a terminal (or CMD on Windows). 2. Run the following command: ``` keytool -list -v -keystore ~/.android/debug.keystore -alias androiddebugkey -storepass android -keypass android ``` - On Windows, use the full path: `C:\Users\YourUsername\.android\debug.key
  2025/04/06      youtube

関連するプログラミング動画 [android]

Our Tag

最近投稿されたプログラミング学習動画

Kumble's spin kept cricketers up at night and now Dada's "Googlies" wo

Search for "Googlies" everyday and get a...

  2025/04/16

Project Management Full Course 2025 | Project Management Tutorial | PM

🔥PMP® Certification Training - The Pr...

  2025/04/15

🔥Top 5 Data Science Hackathons that Every Coder Should Know #shorts #s

🔥Data Scientist Masters Program (Discoun...

  2025/04/15

🔥 How to Become a DevOps Engineer in 6 Months! #shorts #simplilearn

Devops

🔥IITK - Professional Certificate Program...

  2025/04/15

Data Science Roadmap | How To Become A Data Scientist In 2025 | Upskil

🔥Professional Certificate in Data Scienc...

  2025/04/15

Tableau Full Course 2025 | Tableau Tutorial For Beginners | Tableau tr

🔥Purdue - Post Graduate Program in Data ...

  2025/04/15

What Is Microsoft Copilot? | Microsoft Copilot Tutorial | Microsoft Co

microsoft
Microsoft

🔥Purdue - Applied Generative AI Speciali...

  2025/04/15

Introducing Gangoogly, Sourav Gangoogly 😉

Ab Gangoogly k googlies obsession se koi...

  2025/04/14

Google Developer Experts build more with Google AI

Google

See real examples of Google AI through t...

  2025/04/11

How do I retrieve my Windows administrator password after launching an

Microsoft

Skip directly to the demo: 0:22 For mor...

  2025/04/11

How can I grant my Amazon EC2 instance access to an Amazon S3 bucket?

Amazon

Skip directly to the demo: 0:21 For mor...

  2025/04/11