Android Studio 下获取debug sha1和md5
对于从Eclipse上转到Android Studio后,查看这个其实不用keytool,也能方便地查询
Easiest way ever :
- Open Android Studio
- Open Your Project
- Click on Gradle (From Right Side Panel, you will see Gradle Bar)
- Click on Refresh (Click on Refresh from Gradle Bar, you will see List Gradle scripts of your Project)
- Click on Your Project (Your Project Name form List (root))
- Click on Tasks
- Click on android
- Double Click on signingReport (You will get SHA1 and MD5 in Run Bar)
source from : https://stackoverflow.com/questions/27609442/how-to-get-the-sha1-fingerprint-certificate-in-android-studio-for-debug-mode/34223470#34223470
当然这是一个debug用的。
More Details:Please refer the official guide
https://developers.google.com/maps/documentation/android-api/signup?hl=en