Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generate release SHA1 certificate using Android studio [duplicate]

Tags:

I'm using Android studio to help me build a release SHA1 certificate, by going over to

  • Gradle settings at the top right
  • Navigate upto signingReport with the gear icon
  • Right clicking then running it

And it produces a debug SHA1 certificate, as you can see below (Variant):

enter image description here

how can I generate a release certificate using the same tool, without using the command line

like image 804
Boron Avatar asked Jan 31 '19 03:01

Boron


People also ask

How do I get SHA-1 release?

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.


1 Answers

Select your buildVariant to release types. Then go to Project structure -> Default config -> SigninConfig -> and then select your release signinConfig for Release SHA1 and debug signinConfig for Debug SHA1.

enter image description here

like image 155
shizhen Avatar answered Sep 27 '22 23:09

shizhen