Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to get SHA1 and SHA256 in Android Studio 4.2.1

Generally we can SHA certificate fingerprints from Gradle (in right hand side of Android Studio) > Task > Android > signingReport

But in Android Studio Latest Update 4.2.1 the Task is not showing option to get the SHA fingerprint

So can anyone help me with that?

like image 636
Parag Wadhwani Avatar asked May 19 '21 09:05

Parag Wadhwani


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.


Video Answer


1 Answers

Option 1 : Just goto gradle option (in the right side) then click on the gradle icon in the left-top side of the popup

then a popup will appears with "Run Anything" name , then type "gradle signingReport" and press enter

Then you will get the SHA in run tab

Option 2 : In Android Studio 4.2.1 the Gradle task list is disabled by default You can re-enable it from: Settings > Experimental > Do not build Gradle task list during Gradle sync.

like image 65
Parag Wadhwani Avatar answered Oct 24 '22 21:10

Parag Wadhwani