How to get signing certificate fingerprint (sha1) android studio

How to get signing certificate fingerprint (sha1) android studio



There are two ways to do this.
1. Faster way:
  1. Open Android Studio
  2. Open your Project
  3. Click on Gradle (From Right Side Panel, you will see Gradle Bar)
  4. Click on Refresh (Click on Refresh from Gradle Bar, you will see List Gradle scripts of your Project)
  5. Click on Your Project (Your Project Name form List (root))
  6. Click on Tasks
  7. Click on Android
  8. Double Click on signingReport (You will get SHA1 and MD5 in Run Bar)
Check the screenshot below:
Enter image description here
2. Work with Google Maps Activity:
  1. Open Android Studio
  2. Open Your Project
  3. Click on File menu -> Select New -> Click on Google -> Select Google Maps Activity
  4. A dialog would appear -> Click on Finish
  5. Android Studio would automatically generate an XML file named with google_maps_api.xml
  6. You would get debug SHA1 key here (at line number 10 of the XML file)
Check Screenshot below:
Enter image description here

Android Studio V 2.2 Update

There is an issue with Execution.
Solution:
  • Click on Toggle tasks execution/text mode from Run bar
Check Screenshot below:
enter image description here

How to get signing certificate fingerprint (sha1) android studio How to get signing certificate fingerprint (sha1) android studio Reviewed by Anonymous on February 28, 2017 Rating: 5

No comments:

Java Ternary Operator

Java Ternary Operator Java ternary operator is the only conditional operator that takes three operands. Java ternary operator is a one l...

Powered by Blogger.