简体   繁体   中英

How to create a SHA1/MD5 Fingerprint on Android Studio

截屏

I am new to Android studio programming. Here I want to run signing report , so that I can get the SHA1 fingerprint . When I open the gradle window, it is just giving me some options, as in the screenshot given above. The option signing report is not mentioned anywhere. I hadn't done anything on the project. I have just created a new project.In this situation, how can I get the SHA1 fingerprint. Any help is deeply appreciated.

Clean your project and try this First Build your project, Go to Gradle and click on Tasks -> Android and then signing report

I had similar issue, this helped me

Now i have founded the answer myself.

If the signing report is missing on your gradle file and you need to get the SHA-1 fingerprint :

1.Open the project

2.Click on File menu -> Select New -> Click on Google -> Select Google Maps Activity

3.On the resulting dialog box, simply click finish .

4.Open it's XML File.

5.SHA-1 fingerprint will be on it, marked as a comment .

6.After copying the SHA-1 fingerprint, simply press Ctrl + Z to undo creating the google maps activity.

It will work fine.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM