SHA-1 stands for Secure Hash Algorithm 1 and it is used when you want to integrate google API into your app. There are multiple ways to SHA-1 Fingerprint but I’ll show you the easiest way to get it. This is what SHA-1 Fingerprint looks like.
Step 1: If you have an existing project in Android studio then open it otherwise create a new project with an empty activity.
Step 2: Once your project is loaded, you will see Gradle on the right side click on it.
Step 3: Now one window will open up and then you have to click on the Gradle logo.
Step 4: Type signingReport in the search bar and then hit ENTER.
Step 5: You can see the SHA-1 Fingerprint of Keystore Certificate in the console.
This is the simplest way to get the SHA-1 Fingerprint of Keystore Certificate. Refer to the below video for all the steps.
Like Article -->SHA1, MD5, and SHA-256 are cryptographic functions that will convert your input to 160 bit (20 bytes) value. It is a secure key that is used to store very important data. In Android SHA1, MD5 and SA-256 keys are very important. If you want to add external APIs from Google such as Maps and other external features inside your app, then you have to ad
3 min read How to Check Certificate Name and Alias in Keystore Files?You just created your app and invested a great amount of time, invested to get your app created, finally, you are just heading to publish your app, but just before you do that, you need to check the certificate name and alias in your Keystore file, so in order to ensure that you are signing the app with the correct key. So, in this article, you wil
3 min read Where is debug.keystore in Android Studio?Debug.keystore is one of the most important files which is present in almost every application when we download that app from the Google Play Store. This file is basically considered as the certificate of any application which is being verified by Google each and every time. Each app that you are being used on your phone needs to be signed. The deb
2 min read How to fix "Android Studio doesn't see device" in Android Studio?In Android Studio, sometimes the list of devices and emulators doesn't list your physical device when you try to plug it in. Or you may have faced a situation when you plugged the phone in for the first time, no dialog appeared asking if you trust the computer. But the laptop is already allowed to connect to the mobile device. However, the button R
4 min read How to Fix "Android studio logcat nothing to show" in Android Studio?Logcat Window is the place where various messages can be printed when an application runs. Suppose, you are running your application and the program crashes, unfortunately. Then, Logcat Window is going to help you to debug the output by collecting and viewing all the messages that your emulator throws. So, this is a very useful component for the ap
2 min read How to Add Fingerprint Authentication in Your Android App without Using any Library?Biometric Fingerprint authentication is one method of protecting sensitive information or premium content of your app. Nowadays, all payment apps use this feature in their app. It is very easy to implement. A sample Video is given below to get an idea about what we are going to do in this article. Note that we are going to implement this project us
6 min read Authentication Using Fingerprint in AndroidFingerprint authentication came with Android 6.0 (Marshmallow), with the newly released APIs allowing users to authenticate their smartphones with fingerprint sensors. In order to authenticate users using fingerprint sensors we need the instance of FingerprintManager class and call the authenticate() method. Also, we should take care of the devices
6 min read How to Add Fingerprint Authentication in Your Android App?Now a day, we have seen that most of our Android phone contains fingerprint authentication. And we can implement that fingerprint authentication in our app so to secure our app as much as we can. In this article, we will take a look at the implementation of fingerprint authentication. What we are going to build in this article? We will be building
4 min read How to Add SHA Fingerprints For Your Firebase Android App?In the field of cryptography, SHA-1 (Secure Hash Algorithm 1) is a hash function that accepts an input and generates a 160-bit (20-byte) hash value known as a message digest, which is commonly represented by 40 hexadecimal digits. Despite being cryptographically weak, SHA-1 is still frequently used. You must supply the SHA-1 of your signing certifi
2 min read How to Encrypt Data Safely on the Device and Use the Android KeyStore?We deal with a great number of data in Android. Data from one activity is used in a different activity or fragment. For example, when some data changes, we can modify the UI of an application. So, the main concept is to have efficient communication between the data and the application's UI, and we all know that the ideal way to do it is to use Andr
3 min read How to Generate Signed Apk in Android Studio?Signed Apk generates a key and this key can be used to release versions of the app, so it is important to save this key which will be used when the next version of the app is released. The Android system needs that all installed applications be digitally signed with a certificate whose private key is owned by the application's developer. The Androi
3 min read How to Generate Unsigned (Shareable) Apk in Android Studio?Unsigned Apk, as the name suggests it means it is not signed by any Keystore. A Keystore is basically a binary file that contains a set of private keys. Every App that we install using the Google Play App Store needs to be signed with a Keystore. The signed apk is simply the unsigned apk that has been signed via the JDK jarsigner tool. If you want
2 min read How to Generate Class Diagram (UML) on Android Studio?UML (Unified Modeling Language) is the general-purpose modeling language used to visualize the system. It is a graphical language that is standard to the software industry for specifying, visualizing, constructing, and documenting the artifacts of the software systems, as well as for business modeling. UML Class Diagrams are the main building block
4 min read How to Generate Signed AAB File in Android Studio?In this article, you will learn how to create an Android App Bundle (AAB) file for an Android app. An Android App Bundle is a publishing format that includes all your app’s compiled code and resources. Your application should be digitally signed with a key in order to publish it on the Google Play store. Before generating a signed AAB, make sure yo
2 min read How to Clone Android Project from GitHub in Android Studio?Android Studio provides a platform where one can build apps for Android phones, tablets, Android Wear, Android TV, and Android Auto. Android Studio is the official IDE for Android application development, based on IntelliJ IDEA. One can develop Android Applications using Kotlin or Java as the Backend Language, and it provides XML for developing Fro
3 min read How to Add OpenCV library into Android Application using Android Studio?OpenCV is the huge open-source library for computer vision, machine learning, and image processing and now it plays a major role in real-time operation which is very important in today’s systems. By using it, one can process images and videos to identify objects, faces, or even the handwriting of a human. When it integrated with various libraries,
3 min read How to Add Audio Files to Android App in Android Studio?The audio file format is a file format for saving digital audio data on a computer system and all are aware of audio files. So in this article, we are going to discuss how can we add audio files to the android app. There are three major groups of audio file formats: Format Name Description Examples Uncompressed audio formatsUncompressed audio forma
3 min read Different Ways to Change Android SDK Path in Android StudioAndroid SDK is one of the most useful components which is required to develop Android Applications. Android SDK is also referred to as the Android Software Development Kit which provides so many features which are required in Android which are given below: A sample source code.An Emulator.Debugger.Required set of libraries.Required APIs for Android
5 min read How to Capture a Screenshot and Screen Recording of an Android Device Using Android Studio?Android Studio is the official IDE (Integrated Development Environment) for Android app development and it is based on JetBrains’ IntelliJ IDEA software. Android Studio provides many excellent features that enhance productivity when building Android apps. Whenever we are developing an app and in that device, you don't know how to capture screenshot
2 min read Different Ways to Fix “Select Android SDK” Error in Android StudioAndroid SDK is one of the most useful components which is required to develop Android Applications. Android SDK is also referred to as the Android Software Development Kit which provides so many features which are required in Android which are given below: A sample source code.An Emulator.Debugger.Required set of libraries.Required APIs for Android
5 min read Different Ways to Analyze APK Size of an Android App in Android StudioAPK size is one of the most important when we are uploading our app to Google Play. APK size must be considered to be as small as possible so users can visit our app and download our app without wasting so much data. In this article, we will take a look at How we can analyze our APK in Android Studio to check the APK size. Android Studio itself pro
3 min read Different Ways to fix "Error running android: Gradle project sync failed" in Android StudioGradle is one of the most important components of Android apps. It handles all the backend tasks and manages all the external dependencies which we will be going to use in building our Android Application. Sometimes due to any issue or after formatting of your pc. Some of the Gradle files may get deleted unexpectedly. So when you will start buildin
3 min readHow to Fix “Failed to install the following Android SDK packages as some licenses have not been accepted” Error in Android Studio?
When you download the latest Android SDK tools version using the command line to install SDKs and you just try to build gradle then this error shows up: Failed to install the following Android SDK packages as some licenses have not been accepted. platforms;android-27 Android SDK Platform 27 build-tools;27.0.3 Android SDK Build-Tools 27.0.3 To build
4 min read How to Build a Number Shapes Android App in Android Studio?Android is a vast field to learn and explore and to make this learning journey more interesting and productive we should keep trying new problems with new logic. So, today we are going to develop an application in android studio which tells us about Numbers that have shapes. We will be covering two types of numbers i.e. triangular and square. So, f
4 min read How to Fix "android.os.Network On Main Thread Exception error" in Android Studio?The main reason for Network On Main Thread Exception Error is because the newer versions of android are very strict against the UI thread abuse. Whenever we open an app, a new “main” thread is created which helps applications interact with the running components of an app’s UI and is responsible for dispatching events to assigned widgets. The entir
3 min read 10 Android Studio Tips and Tricks For Android DevelopersTo become a good Android developer you should be familiar with Android Studio with some of its tips and tricks. These tips and tricks will help you to become a good Android developer and it will also help you to improve your efficiency in developing Android Apps. In this article, we will be discussing 10 Android Studio, Tips, Tricks, and Resources
6 min read Fix "Android emulator gets killed" Error in Android StudioSometimes, (maybe after updating Android Studio) you might encounter a strange error, which might cause you a nightmare, the error is thrown by the Studio itself and it says: Error while waiting for device: The emulator process for AVD was killed Uggh. Now, what's this error all about? Why did it happen on the system? How do I fix it? Follow the S
3 min read How to Build Binary to Decimal Converter Android App in Android Studio?This app will convert a Binary Number into a Decimal Number. Some people may also have written a java program to convert a Binary Number into a Decimal Number, but while making an app let's see how to do that. Brief Go Through We will start by creating a new project with an Empty Activity. After creating a project, we would add the drawable resourc
5 min read How to Use Stack Overflow to Fix Errors During Android App Development in Android Studio?Stack Overflow, the life savior of developers, feels like Stack Overflow is built for the developers, by the developers, of the developers. According to Wikipedia: "Stack Overflow is a question-and-answer site for professional and enthusiast programmers". So being a developer or programmer can you imagine your life without Stack Overflow…. ? Most p
4 min readFix "Error running android: Gradle project sync failed. Please fix your project and try again" in Android Studio
In this article, we will see how to fix the error: "Gradle project sync failed. Please fix your project and try again" in Android Studio". Before getting into the solution part, let's discuss Gradle. What is Gradle? Gradle is an open-source build automation tool that automates the creation of applications. The various steps involved in creating an