Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get SHA1 code in new version of android studio 4.2?

Before this update we can get SHA1 code from Gradle but now it's look like it's changed.

enter image description here

like image 347
Krushal Virani Avatar asked May 09 '21 17:05

Krushal Virani


People also ask

How do I get SHA1 Android?

If you've published your app using Play App Signing, a requirement when using Android App Bundle, you can get your SHA-1 from the Google Play Console on the Release > Setup > App Integrity page.

How to get the SHA-1 of your signing certificate in Android Studio?

Using Gradle’s Signing Report You can also get the SHA-1 of your signing certificate by Gradle signingReport. But for that, you have to follow some steps. => open your project in Android Studio and open the project.

How to get SHA-1 key in Android Studio for Firebase?

How to Get SHA-1 key in Android Studio for Firebase. 1 Using Keytool#N#Open a terminal and run the keytool utility provided with Java to get the SHA-1 fingerprint of the... 2 Using Gradle’s Signing Report More ...

How to get md5/sha1/sha-256 in Android Studio?

You will see the option on Signing reports under: Gradle -> Tasks ->Android -> Signing Report. Signing Report Runs but does not show any logs. It shows the report user run tab on the android studio tray menus. As shown above, Scroll down, you will see MD5,SHA1,SHA-256 etc. 1.

How to get SHA1 code from Gradle?

Before this update we can get SHA1 code from Gradle but now it's look like it's changed. Unchecked the 'Do not build gradle task list during gradle sync' and click 'OK' You will see the option on Signing reports under: Gradle -> Tasks ->Android -> Signing Report. Signing Report Runs but does not show any logs.


Video Answer


4 Answers

Fixed this by doing this: Check here

  1. File
  2. Settings
  3. Experimental
  4. Unchecked the 'Do not build gradle task list during gradle sync' and click 'OK'
  5. Go to file
  6. Sync project with Gradle files
  7. You will see the option on Signing reports under: Gradle -> Tasks ->Android -> Signing Report.

8.Check the image below Here

like image 159
bensalcie Avatar answered Oct 10 '22 01:10

bensalcie


Option 1 :

1. Open Gradle window from the right side and click on Execute Gradle task icon.

enter image description here

2. Add signingreport beside the "gradle" and press Enter. enter image description here

Option 2 :

  • Open Terminal in android studio, type ./gradlew signingReport and press Enter.

enter image description here

like image 29
Nikunj Avatar answered Oct 09 '22 23:10

Nikunj


Step 1: Click Execute Gradle task

enter image description here

Step 2: Type : "signingreport" and Enter

like image 33
Lokesh Avatar answered Oct 10 '22 01:10

Lokesh


Try using this command line in AndroidStudio Terminal

./gradlew signingReport

like image 12
Gilson Junior Avatar answered Oct 10 '22 01:10

Gilson Junior