對於從Eclipse上轉到Android Studio後,查看這個其實不用keytool,也能方便地查詢android
Easiest way ever :api
- 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)
簡而言這就是在打開的項目下選擇右邊的Gradle而後按Tasks巨的Android點singningReport。本身嘗試時要注意在右側的Project View下要先選擇gradle右側纔會有顯示哦。
source from : https://stackoverflow.com/questions/27609442/how-to-get-the-sha1-fingerprint-certificate-in-android-studio-for-debug-mode/34223470#34223470android-studio
固然這是一個debug用的。ide
More Details:Please refer the official guidegradle
https://developers.google.com/maps/documentation/android-api/signup?hl=en
ui