Город МОСКОВСКИЙ
00:04:10

Generate Release and Debug SHA1 Key - Android Studio Guide

Аватар
Кодерская вечеринка
Просмотры:
24
Дата загрузки:
04.12.2023 19:49
Длительность:
00:04:10
Категория:
Обучение

Описание

If this video helped you out, consider showing your support so that I can keep making free videos ?:
Buy Me a Coffee! - https://www.buymeacoffee.com/thecodecity

In this guide we'll see how we can generate release SHA1 Certificate Fingerprint and debug SHA1 Certificate Fingerprint.
Generating the fingerprint is easy and we need to use the Keytool from Java, and if you're developing in Java than you already have it in your system.
Also, if you don't know how to generate release build APK, you can check it out here:

The command to generate release SHA1 Certificate Fingerprint is:
keytool -list -keystore keystore_path.jks.
You need to run this command from the bin directory of your java installation folder. Usually it's located at C:\Program Files\Java\jdk1.8.0_11\bin

Similarly, you can generate debug SHA1 Certificate Fingerprint using the following command:

keytool -list -alias androiddebugkey -keystore C:\Users\YourUsername\.android\debug.keystore
Replace yourusername with your windows username, that is where the debug.keystore is located, if you have it in some other directory, then you need to pull the path of that directory.

Рекомендуемые видео